You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Joe Franklin <jo...@yahoo.com> on 2000/06/13 09:38:00 UTC

servlet autostart

i think i've seen it mentioned here before, but how do I get a servlet to 
automatically start in tomcat?  And where is this documented?

thx

joe franklin


__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

Re: servlet autostart

Posted by "Craig R. McClanahan" <Cr...@eng.sun.com>.
Joe Franklin wrote:

> i think i've seen it mentioned here before, but how do I get a servlet to
> automatically start in tomcat?  And where is this documented?
>

It is in the servlet spec.  Add a <load-on-startup>1</load-on-startup> element
inside your <servlet> tag after any initialization parameters.

>
> thx
>
> joe franklin
>

Craig McClanahan