This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts 2 --java.lang.NullPointerException

 
Vic Hood
Ranch Hand
Posts: 477
Eclipse IDE Java Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Im developing a simple struts2 application where im required to insert /update a row into a database . However when i try doing the same it throws a nullpointer exception The code snippet for the same from the action class and the dao class are below.Please help in solving the problem.

Action class..


DAO class--
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic