This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Struts and the fly likes Action Form being passed to execute is null Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action Form being passed to execute is null" Watch "Action Form being passed to execute is null" New topic
Author

Action Form being passed to execute is null

Brian Quinn
Ranch Hand

Joined: Dec 23, 2003
Posts: 32
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

Joined: Feb 26, 2001
Posts: 4456
    
    6

Double check your action mapping and make sure that there is a valid value for the name attribute.


Junilu - [How to Ask Questions] [How to Answer Questions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Action Form being passed to execute is null