What is the role of action class in struts?



What is the role of action class in struts?..

Answer / Varun Tomar

The Action class in Struts plays a vital role in processing user requests. It receives the request from the Handler, performs necessary operations (like validations, business logic, and data access), sets values to Action forms or ActionForward objects, and returns them to the Handler for further processing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

Can a reducer dispatch an action?

1 Answers  


What is the use of execAndWait interceptor?

1 Answers  


What configuration changes are required to use Tiles in Struts?

1 Answers  


why servlet is used as controller not JSP?

9 Answers   MCS,


Hi Friends, am new to struts.I read that " you can store variables in xml file(properties file) and for future enhancements we just call properties file . Now i want to implement this , where can i call properties file to enhance my application. My question is where this properties file will be called.

1 Answers  


What is the purpose of @results annotation?

1 Answers  


kindly can any one post for me portlet,hibernate,spring example code and configuration,and some related tutorials plz its urgent for me....thanks in advance ............

1 Answers  


What are the advantages of spring mvc over struts mvc?

1 Answers  


Why we use struts in java?

1 Answers  


What is purpose of execandwait interceptor?

1 Answers  


Explain the necessity of empty tag?

1 Answers  


whats is mean Actionerrors and Actionerror?

5 Answers   Wipro,


Categories