aspose file tools*
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 Soft Skills this week in the Jobs Discussion 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: 5274
    
  10

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]
 
wood burning stoves
 
subject: Action Form being passed to execute is null