On Tue, Apr 13, 1999 at 09:45:07AM -0500, Jaman Burton wrote:
[snip]
> Therefore, if in my service() method of the same servlet I do
> something like session.putValue("Param1",line1); Every user that
> accesses that servlet will get the same values placed in thier session
> variable for those 5 "line" variables, but only the first person to
> request the servlet will actually call the init() method.
> Is that correct?
Generally. The lifecycle is defined as:
Before handling first call:
init();
For each call:
service();
At unloading time (clean shutdown):
destroy();
It's reasonable for a servlet engine to call init() as
soon as it starts, instead of waiting for the first request. The
effect is the same.
--
Robert Crawford [EMAIL PROTECTED]
http://www.iac.net/~crawford
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html