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


Please Help Members By Posting Answers For Below Questions

What are the contents on web.xml in struts application ?

1068


How is declarative handling of exceptions done in struts ?

1006


What do you know about validation plugin ?

1028


What is the difference between filters and interceptors ?

1311


What is action chaining ?

1164