Is your servlet engine instance pooling your servlet instances?
> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of
> Anshul Dutta
> Sent: Thursday, June 29, 2000 3:39 PM
> To: [EMAIL PROTECTED]
> Subject: init method being called multiple times, when the first request
> is made.
>
>
> Hi all,
> I have a servlet (call it xxx)that doesn't have any goGet/doPost
> method. it
> has got some generic methods which are usable to all the servlets.
> So I extend this servlet from all other servlets, let us name one
> of them as
> yyy. Now as yyy is invoked for the first time, it's init method is called
> which in turn calls the init method of xxx. (I have implemented it that
> way). Now the problem is that this method is called 5 times each. The
> message that I put in both of the methods say this...(This
> message is for a
> single request)
>
> Inside init method of servlet yyy...
> Inside init method of servlet xxx...
> Inside init method of servlet yyy...
> Inside init method of servlet xxx...
> Inside init method of servlet yyy...
> Inside init method of servlet xxx...
> Inside init method of servlet yyy...
> Inside init method of servlet xxx...
> Inside init method of servlet yyy...
> Inside init method of servlet xxx...
>
> I guess I am through with the problem explanation...
> Any one any clues??
>
> __________________________________________________________________
> _________
> To unsubscribe, send email to [EMAIL PROTECTED] and include
> in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html