top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What are different ways to create action classes in Struts2?

+1 vote
56 views
What are different ways to create action classes in Struts2?
posted Dec 3, 2017 by Gn Guruswamy

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

0 votes

Struts2 provide different ways to create action classes.

  1. By implementing Action interface

  2. Using Struts2 @Action annotation

  3. By extending ActionSupport class

  4. Any normal java class with execute() method returning String can be configured as Action class.

answer Dec 4, 2017 by Manikandan J
Contact Us
+91 9880187415
sales@queryhome.net
support@queryhome.net
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Bangalore-560102
Karnataka INDIA.
QUERY HOME
...