Hi all,
In my init() method (please note: no parameters in init) for a servlet I
attempt to get a handle (reference) of another object (which uses
singleton). The handle allows me to write to an event log.
When I test that the servlet has an instance of this object within my doGet
or doPost methods I have found the init() has not got a handle. It seems
that the init() method has not been executed!
I have not registered the servlet with Websphere 2 but call the servlet from
a web page using ..//servlet/packagename.servletname.
I have also called super.init(); within init() has well.
Any ideas??
Best Regards
Marc
___________________________________________________________________________
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