tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lakshmi Venkataraman" <laks...@foundrynet.com>
Subject RE: Excluding JSP compiler from Tomcat
Date Fri, 25 May 2007 17:43:27 GMT
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:veerukrishnan@hotmail.com] 
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: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message