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.

Craig


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

Reply via email to