tomcat-users mailing list archives

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

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 
init().

Hope this helps

Andreas


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:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message