Just another version of 'How to shoot your self in the foot':

- Make a servlet that loads on startup.
- From this servlet make a forward to a jsp 
  that does what ever you want after the
  JSP servlet is started.

  Through the forward you force the startup of the JSP 
  servlet. In the jsp you can asume safely, that the
  JSP servlet is already running. (8}

> -----Ursprüngliche Nachricht-----
> Von: Nikola Milutinovic [mailto:[EMAIL PROTECTED]]
> Gesendet: Montag, 19. November 2001 14:54
> An: Tomcat Users List
> Betreff: Re: Precompile JSP
> 
> 
> > Precompile all the jsp files in your project in your 
> ant.xml file as 
> > part of the build process when making your war file.
> 
> Yes, yes, it can be done, but what we want is to have JSP 
> normal and then precompiled upon context mounting. Startup 
> servlet cannot do it, since it starts before JSP servlet. Can 
> that be re-ordered somehow? To have something run UPON 
> startup, but AFTER JSP servlet?
> 
> Nix.
> 

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to