Tracy Nelson-2 wrote:
> 
> You might be able to preload all your JSPs by using the
> <load-on-startup> tag.  Something like:
> <servlet>
>     <servlet-name>MyServlet</servlet-name>
>     <jsp-file>/jsp/MyPage.jsp</jsp-file>
>     <load-on-startup>1</load-on-startup>
> </servlet>
> 

How will this preload all JSPs? Or do I have to add a <servlet>
realm for every JSP I want to precompile?



> Failing that, you might want to check out the Jakarta mini-browser, or a
> text-based browser like Lynx.  It should be possible to script either
> one of these to visit all your pages.  If you're worried about
> interactions, or if security is an issue (e.g., you can't access pages
> unless you log in), you might want to add a parameter like
> "?preload=true" to the URL, and have your JSPs or servlets Do The Right
> Thing when they see it. 
> 

Adding a new parameter is not possible as we have to deploy a finished
application from MatrixOne. Changing every JSP would generate huge
problems with them.

The idea with lynx is nice, combined with a find command would this
be a good solution :-)

Frank
-- 
View this message in context: 
http://www.nabble.com/Precompiled-JSPs-after-Tomcat-restart-tf2303735.html#a6523601
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]

Reply via email to