This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes Action class method are not executed when submit the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Action class method are not executed when submit the page" Watch "Action class method are not executed when submit the page" New topic
Author

Action class method are not executed when submit the page

vijaya singh
Greenhorn

Joined: Mar 08, 2010
Posts: 2
Hi,

when i submit a form (after some editing in fields value), it show all fields blanks. it does not execute the method of action class.

struts.xml:


tiles.xml:


when these mofication in struts.xml file:


it shows: HTTP Status 404 - No result defined for action com.action.ErrorHandlingAction and result input

when these modifications in both files:

struts.xml:


tiles.xml:


now when submit the form (in editing mode), it print null on jsp page.

How to find out the error.

I would really appreciate some feedback/help here.

Thanks.

 
 
subject: Action class method are not executed when submit the page