tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <craig...@apache.org>
Subject RE: servlets
Date Tue, 28 Jan 2003 21:59:13 GMT


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.

Craig


--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message