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-namestart/servlet-name
jsp-filestart.jsp/jsp-file
load-on-startup1/load-on-startup
/servlet
For the following jsp,
/target
target name=all depends=jspc,javac
/target
/project
Rgds
Antony Paul.
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 28, 2003 12:25 PM
Subject: Re: Preload JSP when it's startup
Can you please tell me exact
: Preload JSP when it's startup
Can you please tell me exact instruction?
Script??
store it in where?
how?
Deepak Parbhoo [EMAIL PROTECTED]
11/28/2003 01:12 PM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Re: Preload JSP
/target
target name=all depends=jspc,javac
/target
/project
Rgds
Antony Paul.
- Original Message -
From: [EMAIL PROTECTED]
To: Tomcat Users List [EMAIL PROTECTED]
Sent: Friday, November 28, 2003 12:25 PM
Subject: Re: Preload JSP when it's startup
Can you please tell me exact
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.
[EMAIL PROTECTED] wrote:
As we know, first time when JSP is called, it's complied into Servlet
and
Can you please tell me exact instruction?
Script??
store it in where?
how?
Deepak Parbhoo [EMAIL PROTECTED]
11/28/2003 01:12 PM
Please respond to Tomcat Users List
To: Tomcat Users List [EMAIL PROTECTED]
cc:
Subject:Re: Preload JSP when it's startup