What are different ways to create Action classes in Struts2?

Answer

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.

All struts2 Questions

Ask your interview questions on struts2

Write Your comment or Questions if you want the answers on struts2 from struts2 Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---