top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

What are different ways to create action classes in Struts2?

+1 vote
468 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
...