wood burning stoves*
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 Murach's Java Servlets and JSP this week in the Servlets 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: 4442
    
    5

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
 
Similar Threads
Passed 88%
Passed ... :-) ....
Form Params not passed properly
Passed
passed