tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Schalk" <>
Subject RE: Preload JSP when it's startup
Date Fri, 28 Nov 2003 08:26:00 GMT
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:


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

Kind Regards
Schalk Neethling
Web Developer.Designer.Programmer.CEO
Tel: +27125468436
Fax: +27125468436
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: []
:: Sent: Friday, November 28, 2003 3:59 AM
:: To:
:: 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:
For additional commands, e-mail:

View raw message