dcsimg

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);
...

}