Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP and Servlets  RSS feed

 
Amarnath Joshi
Ranch Hand
Posts: 31
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, Im Creating a Mailing System application.

This is My Servlet page where the Login validation will be made and displaying number of users logic will also be done im returing an array list of attributes to the My above mentioned jsp page. Once the Login is Done above page is displaying the List of Contents but when i click an anchoring to the above page Its pointing out

This is My serlvet Code





 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should print out the entire stack trace instead of just the error message - then you know at which line of code the exception occurs.

Also, are you sure that in line 15 of the doPost method creating a new LoginBean object is the right thing to do? You already created one in line 8, and that one has the data which presumably is needed for retrieving the userID.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!