What can I do if my Servlet is receiving a NullPointerException when accessing init parameters via the ServletConfig object in WebLogic?

Robert Castaneda

Make sure that your Servlet calls super.init(config) inside the init() method.

e.g.

public void init(ServletConfig config) {

...
super.init(config);
...

}
0 Comments  (click to add your comment)
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

About | Sitemap | Contact