Hi guys, i have this error when i was trying to invoke the servlet class: java.lang.NullPointerException ServiceServlet.doGet(ServiceServlet.java:32) javax.servlet.http.HttpServlet.service(HttpServlet.java:740) javax.servlet.http.HttpServlet.service(HttpServlet.java:853) i wondering it caused by missed configuration in web.xml, i do like this: ServiceServlet ServiceServlet ServiceServlet /ServiceServlet is it correct or there is another cause? is there anybody can help me please, thank’s before. regards, bhangun
sorry there is wrong configuration in web.xml, so this error is appear.
and so the error is solved. But i have another problem. Invoking servlet is success, but it doesn’t turn the value. So the value is always null.
And in the error log i got this error. I also has change the ACL to annonymous, but also Access Denied :
Can you find me the problem and solve it?
this is the snippet code that i used for: