"Craig R. McClanahan" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > > 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.
<pedantic> This is true if you have just one <servlet>. You can have 1001 <servlet-mapping>s, and it will still be true. </pedantic> > > Craig --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]