You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by Stephane Osmont <so...@seolan.com> on 2000/07/24 03:43:09 UTC
Loading servlet at startup
The Tomcat doc mentions that you can load a servlet a startup the following
way, by editing web.xml:
<!-- Load this servlet at server startup time -->
<load-on-startup>5</load-on-startup>
What's the best way to check if a the servlet gets actually loaded?
Thanks
Steph
Re: Loading servlet at startup
Posted by Steve Weiss <sw...@aamc.org>.
You could put:
System.out.println( "Hello world" );
in your init() method ;)
-S
Stephane Osmont wrote:
>
> The Tomcat doc mentions that you can load a servlet a startup the following
> way, by editing web.xml:
>
> <!-- Load this servlet at server startup time -->
> <load-on-startup>5</load-on-startup>
>
> What's the best way to check if a the servlet gets actually loaded?
>
> Thanks
> Steph
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: general-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: general-help@jakarta.apache.org
--
Steve Weiss Association of American Medical Colleges
(202)828-0428 mailto:sweiss@aamc.org http://www.aamc.org