Craig R. McClanahan wrote:
On 28 Jan 2003, Felipe Schnack wrote:


Date: 28 Jan 2003 19:26:27 -0200
From: Felipe Schnack <[EMAIL PROTECTED]>
Reply-To: Tomcat Users List <[EMAIL PROTECTED]>
To: Tomcat Users List <[EMAIL PROTECTED]>
Subject: RE: servlets

 So if I have just one <servlet> and <servlet-mapping> in my web.xml I
have guarantee of one instance, don't I?

Yes, as long as the servlet doesn't implement SingleThreadModel.

MVC frameworks like Struts, where the controller is a singleton, rely on
this.
One /instance/, but many /threads/ .... right?



Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to