My initial thought ( :-) forgive me its some time since I have coded
servlets) was that Tomcat will create a new servlet instance that is
totally independed of the other, for each request.
Tomcat will not create a new instance of a servlet for every request to
that servlet. Tomcat will create one instance on startup if the servlet
is defined in web.xml as such (a load-on-startup tag present). Tomcat
may create more instances as needed to serve the request load.
But how does Tomcat log the sessions variables PER request then? Is the
session object independent of the servlet object, and is there one
session object PER request?
Cheers
S
Yoav Shapira
This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]