Minor note -- the number indicates which order to load the pre-loaded servlets in, not 
how many.  The lowest number is loaded first, the highest number last.

>From the web.xml DTD:

The load-on-startup element indicates that this servlet should be
loaded on the startup of the web application.
The optional contents of these element must be a positive integer
indicating the order in which the servlet should be loaded.
Lower integers are loaded before higher integers.
If no value is specified, or if the value specified is not a positive
integer, the container is free to load it at any time in the startup
sequence.

Scott

> -----Original Message-----
> From: BLAIS,JASON (HP-USA,ex1) [mailto:[EMAIL PROTECTED]]
> 
> 
> Travis - 
> 
> Is the SchedTest servlet set to load on startup?  This can be done by
> setting the servlet to preload in the Servlet Definitions section of 
> the JMC or even easier by setting the <load-on-startup/> tag in the 
> web.xml file.  Valid values in this tag are 1 through n where n is 
> the number of servlets to preload.
> 
> If a servlet is not set to preload, it will load on the first 
> access to the servlet; which may be causing the behavior you are 
> seeing.
> 
______________________________________________________________________
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to