Hi Gurmeet, There is a tool out there called wget that my associates have used for just this purpose. They used wget to touch all of the jsp pages and therefore compile them before a live user gets to their site. HTH
-Tino On Sat, 2002-05-04 at 03:32, Gurmeet wrote: > Thanks a lot Jay, > > As of now I am opting for your second suggestion. > > And lets hope this feature improves in future. > > Gurmeet > -----Original Message----- > From: Jay Gardner [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 12:34 PM > To: Tomcat Users List > Subject: RE: How to force compilation of Jspz at startup > > > Is this so that everything is ready to go for the first user? > > If so, you could pre-compile you JSPs using jspc. I have done this in an ANT > build script and have gotten it down to a two step process. You still have > to manually add the generated servlet definitions and mappings to your > web.xml file. Hopefully this will be changed in the future. > > The other option is to write your own script to run through the URLs with > the ?jsp_precompile=ture parameter appended to the end. > > Ex. http://server:8080/context/myjso.jsp?jsp_precompile=true. > > This compiles the page without running it. I am with Abraham though, if you > find a better way let us know. > > --JG > > -----Original Message----- > From: Abraham Fathman [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 12:39 AM > To: 'Tomcat Users List' > Subject: RE: How to force compilation of Jspz at startup > > Don't know of a way... Sorry. If you find out let me know - it would be > nice to take that hit during a maintenance window... > > -----Original Message----- > From: Gurmeet [mailto:[EMAIL PROTECTED]] > Sent: Saturday, May 04, 2002 2:30 AM > To: Tomcat Users List > Subject: RE: How to force compilation of Jspz at startup > > > I am posting this question again as I did not get any response. > > How do I inform Tomcat to compile all the JSPz in a particular context > on startup. > > We can do this in weblogic by specifying the following in its web.xml. > > <context-param> > <param-name>weblogic.jsp.precompile</param-name> > <param-value>true</param-value> > </context-param> > > I am sure there is some way we can do this in Tomcat also. > > Thanks in advance. > > Gurmeet > -----Original Message----- > From: Gurmeet [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 03, 2002 12:34 PM > To: Tomcat Users List > Subject: How to force compilation of Jspz at startup > > > Hi all, > > How do I inform Tomcat to compile all the JSPz on startup. > > Regards, > Gurmeet > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > > > -- > To unsubscribe: <mailto:[EMAIL PROTECTED]> > For additional commands: <mailto:[EMAIL PROTECTED]> > Troubles with the list: <mailto:[EMAIL PROTECTED]> > -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>
