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.


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

 

We have 1000s of tutorials on our website. Search Tutorials tutorials on our website.

Share on Google+Share on Google+

Struts 2 Action Tag

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

Advertisements

 

Discuss: Struts 2 Action Tag  

Post your Comment


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

Ads

 

Ads