ninewest wrote:
>
> I'm working on some software that creates/deploys JSP files automatically
> from an external source.  Some servlet/app server engines (ie Weblogic,
> others?)
> have flags that allow the engine to compile all JSP files on startup.  However,
> if new JSP files are put down while the engine is up, the first compile happens
> on the first access.
>
> Is there anyone who has figured out some trick to cause the JSP to be
> compiled before the first real web access, or
> dispatch.forward()/dispatch.include()
> method?
>
> I'm thinking that even if there is a way, it will be app server specific
> but I figured
> I would ask.
You could run a servlet on startup that checks all jsp files to see
wether tey have been touched and then does a request for the page if it
has been touched.

sven

--
======================================================================================
Sven E. van 't Veer
http://www.cachoeiro.net
Java Developer                                                      [EMAIL PROTECTED]
======================================================================================

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to