All,
I developed a admin-servlet to display details of the customer. I am
allowing the customer details to display IFF user is a valid user. Before
displaying the user requested information I display a Standard login dialog
box for authenticating the user.
Through my form I submit user_id for search in my database. When i try to
post the user-id for search it raises nullpointerexception. Immediately i
click on back button and re-post the same request this time it does not
raise any exception, and display the required information. This problem
creeps up sometimes, but few times it makes through without any problem.
{ (null) java.lang.NullPointerException
at admin.FindUser.handleAuthenticatedRequest(Compiled Code)
at admin.AuthenticatedAdminServlet.handleRequest(Compiled Code)
at general.GeneralServlet.doPost(Compiled Code)
at general.GeneralServlet.doGet(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at javax.servlet.http.HttpServlet.service(Compiled Code)
at com.livesoftware.jrun.JRun.runServlet(Compiled Code)
at com.livesoftware.jrun.JRunGeneric.handleConnection(Compiled Code)
at com.livesoftware.jrun.JRunGeneric.handleProxyConnection(Compiled
Code)
at
com.livesoftware.jrun.service.proxy.JRunProxyServiceHandler.handleRequest(Compiled
Code)
at com.livesoftware.jrun.service.ThreadConfigHandler.run(Compiled
Code)
}^
Venkat
______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html