Win a copy of Functional Reactive Programming this week in the Other Languages 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