Two Laptop Bag
The moose likes Servlets and the fly likes Session problem? Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "Session problem?" Watch "Session problem?" New topic
Author

Session problem?

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 233

Hi, I am trying to display the records of database by user entered in search boxes like first name,last name,and it has to guide to grid page after that when i click the view/edit options the it has to show the data after modifying the the page has to return to grid page.but it is showing some error
Here my code



Exception

Error 500--Internal Server Error
java.lang.NullPointerException
at COM.GARNET.EMPLOYEE.StudentController.doPost(StudentController.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3498)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(Unknown Source)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2180)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2086)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)

mallikarjun dontamsetti
Ranch Hand

Joined: Mar 18, 2011
Posts: 233

Sorry my problem is solved i was checking session perhaps i have to check the the value null
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Session problem?
 
Similar Threads
Uploading a file?
Database issue; Migrating from weblogic 6 to 9
How to hide the Jsp page name?
comparing Strings
Java mail problem in IE