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,
> 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
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
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