Peet DENNY wrote:

> Hi,
> Usually, when I write init() methods, I write them to conform to jh's
> specifications in the servlet programming book. i.e.
> init(ServletConfig config) throws blah blah{
> super.init(config);
> ...
> }
> However I have a friend using weblogic who gets away with never calling
> super.init(conig);
> I use jserv, and it never recognises the signature if I leave out this call.
> Anyone know why?
> Thanks
> Peet
>

If WebLogic supports the 2.1 servlet API, a new version of init was added that
takes no arguments.  This was added to avoid the problem so many people were
having when they forgot to call super.init(config) in their init() methods.

Apache JServ supports the 2.0 API, which did not include this call.  Therefore,
it is not recognized.

Craig McClanahan

___________________________________________________________________________
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

Reply via email to