load-on-startup

Java Servlet Programming, 2nd Edition > C. Deployment Descriptor DTD Reference > <load-on-startup>

 
< BACKCONTINUE >
<load-on-startup>

Synopsis

<!ELEMENT load-on-startup (#PCDATA)>

Description

The <load-on-startup> element indicates that the servlet should be loaded on the startup of the web application. The optional contents of this element must be a positive integer that specifies the order in which the servlet should be loaded. Servlets with lower values are loaded before servlets with higher values. If no value is specified or if the value specified is not a positive integer, the container is free to load the servlet at any time in the startup sequence.

<servlet>     <servlet-name>ps</servlet-name>     <servlet-class>PrimeSearcher</servlet-class>     <load-on-startup/> </servlet>


Last updated on 3/20/2003
Java Servlet Programming, 2nd Edition, © 2001 O'Reilly

< BACKCONTINUE >


Java servlet programming
Java Servlet Programming (Java Series)
ISBN: 0596000405
EAN: 2147483647
Year: 2000
Pages: 223

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net