Share on Google+Share on Google+

Struts 2 Action Tag

Advertisement
'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.

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:

(example)

Advertisements

Posted on: September 22, 2013 If you enjoyed this post then why not add us on Google+? Add us to your Circles

Share this Tutorial Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Discuss: Struts 2 Action Tag  

Post your Comment


Your Name (*) :
Your Email :
Subject (*):
Your Comment (*):
  Reload Image
 
 
Comments:0