[EMAIL PROTECTED] wrote:
> Hi all
> 
> Since compiling a JSP page means a big overhead for the server, has anyone
> ever tried to compile them on a development server and then deploy them to a
> production server? Ideally, Tomcat should compare the timestamp of the JSP
> and the .class and take the latter...

Most containers provide a tool for precompiling JSP pages and creating
the necessary web.xml mappings from the JSP page URLs to the
corresponding precomiled servlet class. For Tomcat 4, it's called JspC.

 
<http://cvs.apache.org/viewcvs.cgi/*checkout*/jakarta-tomcat-4.0/jasper/doc/jspc.html?rev=1.4>

Hans

-- 
Hans Bergsten           [EMAIL PROTECTED]
Gefion Software         http://www.gefionsoftware.com
JavaServer Pages        http://TheJSPBook.com


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to