tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Probst" <>
Subject Re: Two instances of servlet gets created
Date Thu, 02 Jan 2003 13:59:22 GMT

do you call your servlet by the pattern defined in web.xml or by 
the full path with invoker servlet? 

I once read, that using the invoker servlet means creating a new 
instance of your servlet. Maybe that's what causes the second 

Hope this helps


On 2 Jan 2003 at 17:22, Mohit Garg wrote:

> I have startup servlet for which one instance is created as soon
> as my tomcat starts. But on the first request to the servlet
> there is another instance created. i.e Another time init() is
> called for the servlet.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message