tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ralph Einfeldt" <>
Subject AW: Precompile JSP
Date Mon, 19 Nov 2001 15:59:07 GMT
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 []
> 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:   <>
For additional commands: <>
Troubles with the list: <>

View raw message