Which init() method are you overriding?

init()
or init(ServletConfig config)

If it's the latter, be sure the first line in the method body is

super.init(config);

or else the ServletConfig object will not be stored by the servlet and you will get 
the errors you report.

Better yet, override the no-arguments init(), as the purpose of the no-arg version is 
to avoid having to call super.init(config).

Best,
Brian

<a 
href="http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827676#3827676";>View 
the original post</a>

<a 
href="http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827676>Reply 
to the post</a>


-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to