adspace
What are different ways to create Action classes in Struts2?
Answer Posted / Atul Ojha
In Struts2, there are several ways to create action classes:
1. Annotation-based (using `@Action` annotation).
2. XML configuration-based (in the struts.xml file).
3. Both annotation and XML configuration.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers