tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Price <epr...@ptc.com>
Subject Re: servlets
Date Wed, 29 Jan 2003 12:41:01 GMT


Craig R. McClanahan wrote:
> 
> On 28 Jan 2003, Felipe Schnack wrote:
> 
> 
>>Date: 28 Jan 2003 19:26:27 -0200
>>From: Felipe Schnack <felipes@ritterdosreis.br>
>>Reply-To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>>To: Tomcat Users List <tomcat-user@jakarta.apache.org>
>>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: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message