It sounds like one, or both, of the servlets is single threaded and the
servlet engine is starting up 5 instances of it to handle requests.
Bob
At 08:09 PM 6/29/00 +0530, Anshul Dutta wrote:
>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
>
>
--------------------------------------------------------
"If you pick up a starving dog and make him prosperous,
he will not bite you. This is the principal difference
between a dog and a man."
-- Mark Twain
___________________________________________________________________________
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