Struts 2 Action Tag
"action" Tag in Struts 2 is used by developer to call action class from a JSP page. For calling the action class, developer must assign action name.
Struts 2 Action Tag is one of the Data Tags, which are used for data manipulation or creation.
When executeResult parameter is specified as True, the method is executed and the result page is rendered directly in the view. But if executeResult parameter is not specified, result page will be displayed as result processor defined for this action in struts.xml will be ignored.
Following example will further explain the complete use of Struts 2 Action Tag:
We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.
Posted on: September 22, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles