• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSP page set Bean variables but give NullPointerException when Bean try to merge in the DB

 
Enrico Morelli
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to JSP but I've to use it to grab data coming from an external site, pass data to a Bean, write data in a DB and redirect the user to another page. Follow the JSP page.



This is the bean:



On the console I see the prints but I receive the NullPointerException.



Where I wrong?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!