In our development environment we compile JSPs on the fly. In our production environment we have precompiled JSP classes.
In the PRODUCTION environment, webapps/WEB-INF/web.xml have <servlet> and <servlet-mapping> defined for every JSP page. For example: <servlet> <servlet-name>MyAppJsp1</servlet-name> <servlet-class>jsp.myAppJsp1</servlet-class> </servlet> <servlet-mapping> <servlet-name>MyAppJsp1</servlet-name> <url-pattern>/jsp/MyAppJsp1.jsp</url-pattern> </servlet-mapping> The precompiled JSP classes are placed inside WEB-INF/classes/jsp. I guess you can also probably archive these files in a WAR file. --Lakshmi -----Original Message----- From: lightbulb432 [mailto:[EMAIL PROTECTED] Sent: Friday, May 25, 2007 10:31 AM To: users@tomcat.apache.org Subject: Excluding JSP compiler from Tomcat The JSP spec says that if you precompile JSPs you can reduce the JSP container footprint by excluding the JSP compiler. How can this be done in Tomcat? Thanks. -- View this message in context: http://www.nabble.com/Excluding-JSP-compiler-from-Tomcat-tf3817429.html# a10807251 Sent from the Tomcat - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]