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