This week's book giveaway is in the OCAJP forum.
We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line!
See this thread for details.
Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action Form being passed to execute is null

 
Brian Quinn
Ranch Hand
Posts: 32
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a simple 3 text field form, that I fill in and hit submit. I get null ponter errors when trying to extract the data on the form. I tested the form object that gets passed to the execute() method and it is null. Not sure why that would happen.
 
Junilu Lacar
Bartender
Posts: 7587
53
Android Eclipse IDE IntelliJ IDE Java Linux Mac Scala Spring Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Double check your action mapping and make sure that there is a valid value for the name attribute.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic