You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by aa...@godaddy.com on 2007/02/22 19:05:56 UTC
Compiling JSP Pages on Startup
All,
Is there a known way to have Tomcat Compile JSP pages upon startup
instead of pre-compiling and or waiting for the first page access?
Resin has a facility like this using JspPrecompileListener. I see
nothing like this in Tomcat. Has anyone ever attempted this? If not
where would the entry point for jsp compiliation be so I could possibly
write my own version of this for Tomcat.
Thanks
Tony Anter
---------------------------------------------------------------------
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: Compiling JSP Pages on Startup
Posted by David Delbecq <de...@oma.be>.
Look at lambda probe (an amdinistration webapp for tomcat), it has a
menu to compile JSPs. If it does not fit your needs, i suppose you can
still rip this code part and reuse it in a listener :)
aanter@godaddy.com a écrit :
> All,
>
> Is there a known way to have Tomcat Compile JSP pages upon startup
> instead of pre-compiling and or waiting for the first page access?
> Resin has a facility like this using JspPrecompileListener. I see
> nothing like this in Tomcat. Has anyone ever attempted this? If not
> where would the entry point for jsp compiliation be so I could possibly
> write my own version of this for Tomcat.
>
> Thanks
> Tony Anter
>
>
>
> ---------------------------------------------------------------------
> 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