Jetty has moved!
Jetty is a project at the Eclipse Foundation.
Homepage:http://www.eclipse.org/jetty
Downloads: http://download.eclipse.org/jetty/
Documentation:http://www.eclipse.org/jetty/documentation/current/
About:http://www.eclipse.org/jetty/about.php
Jetty Powered:http://www.eclipse.org/jetty/powered/
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Source files for my jsps don't stay around in my work directory?!

The initParam that controls whether or not the .java files are kept around after compilation is called keepgenerated.

You set this initParam on the JspServlet in the webdefault.xml file:

If you are using jsp-2.1, and you are using JDK6 or above, then the default behaviour of the jsp engine is to NOT keep the generated
java files around UNLESS you explicitly set it as above. If you are using JDK5, then the default IS to keep the generated java files.

Note: If you customize the settings in the webdefault.xml file in the $JETTY-HOME/etc directory, then you need to tell your webapps to use that file instead of the one that is baked-in to the jetty.jar. Please read the entry on webdefault.xml for instructions on what to do.

  • No labels
Contact the core Jetty developers at www.webtide.com
private support for your internal/customer projects ... custom extensions and distributions ... versioned snapshots for indefinite support ... scalability guidance for your apps and Ajax/Comet projects ... development services from 1 day to full product delivery