tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From foong...@cmm.canon.com.my
Subject Re: Preload JSP when it's startup
Date Fri, 28 Nov 2003 06:55:04 GMT
Can you please tell me exact instruction?
Script??
store it in where?
how?





Deepak Parbhoo <deepak.parbhoo@aus.xerox.com>
11/28/2003 01:12 PM
Please respond to "Tomcat Users List"

 
        To:     Tomcat Users List <tomcat-user@jakarta.apache.org>
        cc: 
        Subject:        Re: Preload JSP when it's startup


Write a script that calls the jsp's with '?jsp_precompile=true' as a 
parameter.
So if the page is called start.jsp you will make a request to:
"http://<server>:<port>/start.jsp?jsp_precompile=true".

foongkim@cmm.canon.com.my wrote:

>As we know, first time when JSP is called, it's complied into Servlet
>and 
>the next time you call the same jsp, the respond time will be faster.
>
>Thus, anywar for Tomcat to set to preload the JSP page when it's
>starting 
>up the server?
>
>Thanks.
>
> 
>



---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org




Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message