Re: Invoke JSP on tomcat startup

2007-11-16 Thread Jess Holle
Sounds like you want a ContextListener, not a JSP... Andrew Hole wrote: Hello! Exists some automatic way to invoke a JSP when tomcat starts? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe,

SV: Invoke JSP on tomcat startup

2007-11-16 Thread Wilhelmsen Tor Iver
> Exists some automatic way to invoke a JSP when tomcat starts? In the sense that a JSP can be declared as , yes; put the code you want to invoke in e.g. <%! static { // Stuff to do once } %> However, you really should look into solving the real problem you want to use this for in some other

Invoke JSP on tomcat startup

2007-11-16 Thread Andrew Hole
Hello! Exists some automatic way to invoke a JSP when tomcat starts? Thanks a lot - To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTE

Re: Invoke JSP on tomcat startup

2007-11-16 Thread Andrew Hole
Invoking JSP it recreates a XML file on file system. I wish recreate for the first time at tomcat startup. Regards On Nov 16, 2007 2:21 PM, Jess Holle <[EMAIL PROTECTED]> wrote: > Sounds like you want a ContextListener, not a JSP... > > > Andrew Hole wrote: > > Hello! > > > > Exists some automati