One way would be to register the jsp/s in your web.xml and include the
<load-on-startup/> tag. Your entry in the web.xml would look as follows:

<servlet>
        <servlet-name>start</servlet-name>
        <jsp-file>start.jsp</jsp-file>
        <load-on-startup>1</load-on-startup>
</servlet>

For the following jsp, the <load-on-startup> will be 2 etc.

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Volume4.Development.Multimedia.Branding
emotionalize.conceptualize.visualize.realize
Tel: +27125468436
Fax: +27125468436
email:[EMAIL PROTECTED]
web: www.volume4.co.za
 
This message contains information that is considered to be sensitive or
confidential and may not be forwarded or disclosed to any other party
without the permission of the sender. If you received this message in error,
please notify me immediately so that I can correct and delete the original
email. Thank you. 

:: -----Original Message-----
:: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
:: Sent: Friday, November 28, 2003 3:59 AM
:: To: [EMAIL PROTECTED]
:: Subject: Preload JSP when it's startup
:: 
:: 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to