adspace


What is action class? What are the types of action class?

Answer Posted / Shyama Pathak

In Struts, an Action class is a Java class that represents a single action in your application's workflow. It handles user requests and prepares responses.nnThere are two types of Action classes: regular Action classes and DispatchAction.n- Regular Action classes are the main type of Action classes. They handle user requests by executing specific methods (called business methods) that perform the required operations.n- DispatchAction is a special type of Action class that delegates the request handling to other Action classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you know about validation plugin ?

1028


What is action chaining ?

1164


What is the difference between filters and interceptors ?

1311


How is declarative handling of exceptions done in struts ?

1006


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

1068