You are viewing a plain text version of this content. The canonical link for it is here.
Posted to general@jakarta.apache.org by "Gattaz, Olivier" <og...@adonix.tm.fr> on 2000/01/12 10:47:29 UTC
How to preload a servlet
Bonjour,
I would preload a servlet when tomcat start, what parameter must I put
in the "web.xml" fileĀ ?
Somebody can help meĀ ?
Thanks in advance.
Best regards.
Olivier gattaz
Adonix - 5 rue Roland Garros - 38320 Eybens France
Re: How to preload a servlet
Posted by Hans Bergsten <ha...@gefionsoftware.com>.
"Gattaz, Olivier" wrote:
>
> Bonjour,
>
> I would preload a servlet when tomcat start, what parameter must I put
> in the "web.xml" file ?
>
> Somebody can help me ?
The web.xml file syntax is described in the Servlet 2.2 specification,
see <http://java.sun.com/products/servlet/>
Hans
--
Hans Bergsten hans@gefionsoftware.com
Gefion Software http://www.gefionsoftware.com
Re: How to preload a servlet
Posted by josh <st...@bitstream.net>.
>Bonjour,
>
>I would preload a servlet when tomcat start, what parameter must I put
>in the "web.xml" file ?
>
>Somebody can help me ?
>
Sure. It is:
<servlet>
...blah...
<load-on-startup />
...blah...
</servet>
Hope this helps. :-)
--josh