The Artima Developer Community
Sponsored Link

Java Buzz Forum
Tips 'n' Tricks: How to keep JSP compilation results with JBoss/Jetty

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Lars Hoss

Posts: 21
Nickname: woeye
Registered: Jul, 2003

Lars Hoss is a programmer focusing on J2EE and Objective-C on MacOS X
Tips 'n' Tricks: How to keep JSP compilation results with JBoss/Jetty Posted: Jul 5, 2003 4:58 AM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by Lars Hoss.
Original Post: Tips 'n' Tricks: How to keep JSP compilation results with JBoss/Jetty
Feed Title: WoEyE's weblog
Feed URL: http://woeye.highteq.net/xml/weblog/woeye.rss
Feed Description: The personal weblog of WoEyE. Mostly about J2EE and MacOS X.
Latest Java Buzz Posts
Latest Java Buzz Posts by Lars Hoss
Latest Posts From WoEyE's weblog

Advertisement
If you want to keep your JSP compilation results between server restarts you have to tell Jetty where to put the results. Otherwise Jetty will use a different directory on each restart. The simplest way is to add an init-parameter in webdefault.xml:
 <servlet> <servlet-name>jsp</servlet-name> <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class> <init-param> <param-name>scratchdir</param-name> <param-value>/tmp/jetty</param-value> </init-param> <load-on-startup>0</load-on-startup> </servlet> 

Read: Tips 'n' Tricks: How to keep JSP compilation results with JBoss/Jetty

Topic: Small Wireless Correction Previous Topic   Next Topic Topic: J2SE 1.4.2 installer nonsense

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use