You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by hergele <er...@gmail.com> on 2008/10/31 12:51:34 UTC
Jsp precompiling..
Hi all..
I have a jsp file for precompile all jsp's..(precompile.jsp)
Like this : http://www.rgagnon.com/javadetails/java-0414.html
So.. I have to send a request to this jsp before the tomcat has started. How
can I do that? Is there any way to deny all requests before precompile.jsp
has finished?.. In server.xml or where?
Thanks in advance..
tomcat : apache-tomcat-6.0.16
os : SUSE Linux Enterprise Server 10 (x86_64) VERSION = 10
--
View this message in context: http://www.nabble.com/Jsp-precompiling..-tp20264390p20264390.html
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
RE: Jsp precompiling..
Posted by "Caldarale, Charles R" <Ch...@unisys.com>.
> From: hergele [mailto:erkut.evirgen@gmail.com]
> Subject: Jsp precompiling..
>
> I have a jsp file for precompile all jsp's..(precompile.jsp)
> Like this : http://www.rgagnon.com/javadetails/java-0414.html
>
> So.. I have to send a request to this jsp before the tomcat
> has started.
Why don't you pre-compile the JSPs before deployment and avoid the timing window you created for yourself? Read this:
http://tomcat.apache.org/tomcat-6.0-doc/jasper-howto.html#Web%20Application%20Compilation
- Chuck
THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.
---------------------------------------------------------------------
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