Hi all!,
I am using a
servlet which simply
checks whether the session is
new.. if it is new, then send it to another page using redirect()
this is the error which it is showing
*************
Document moved
This document has moved here.
Error: 500
Location: /netzone/addfrm
Internal Servlet Error:
java.lang.NullPointerException
at horse.addfrm.doGet(addfrm.java:36)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.tomcat.core.ServletWrapper.handleRequest(ServletWrapper.java:503)
at org.apache.tomcat.core.ContextManager.service(ContextManager.java:559)
at ngasi.a.a.n.a(Unknown Source)
at ezj.b.e.run(Unknown Source)