Howdy, >The init method of my servlet is called twice if my class implements the >SingleThreadModel. >Full details are given below. If I remove "implements SingleThreadModel" >init is called only once - as I would expect. > >Is this a bug? >Any help would be appreciated.
Instead of just printing out "init called" or whatever you did, print out "init called " + toString() which will have the memory address of the servlet instance. This will allow you to see that the instances are different, i.e. you have two instances of this servlet with init being called one for each (proper behavior). If the memory addresses are the same, that means init called twice for the same servlet, which is bad. Yoav Shapira This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
