Rich Neill wrote:
>
> > >
> >
> > Check out the example configuration files. In your zone properties
> > file, to have servlets aliased to "myservlet" and "firsttime" start up
> > automatically:
> >
> > servlets.startup=myservlet,firsttime
> >
> > Craig McClanahan
> >
>
> I was thinking more along the lines of a startup class, which would be
> instanced before all servlets. The startup class might setup the JVM
> environment in some specific way before any servlets are called.
> Does what you describe above accomplish this?
>
Nope... It just calls the init() method of the specified servlets after
JServ starts up...
You can create a "dumb" servlet with an init() method and no service() wich
could do whatever you want, and then add it, as Craig said, to the list of
servlets initialized at startup...
Pier
--
Pierpaolo Fumagalli - Java Apache Project - <http://java.apache.org/>
E-Mail <mailto:[EMAIL PROTECTED]> <mailto:[EMAIL PROTECTED]>
---------------------------------------------------------------------
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]