Explain architecture of struts2?



Explain architecture of struts2?..

Answer / Satyendra Pratap Singh

The Struts2 architecture consists of four main components: Action, Interceptor, Result, and Preparation/Execution/Validation stages. The action component is responsible for handling user requests and executing business logic. Interceptors are used to modify the request-response lifecycle, such as for logging or security checks. Results define the output of an action, such as a JSP page or JSON response. Finally, Preparation, Execution, and Validation stages are phases that occur during action processing.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

What is struts in java with example?

1 Answers  


What is the configuration files used in struts?

1 Answers  


What do you mean by dynaactionform?

1 Answers  


How to handle exceptions in structs?

1 Answers  


what r the disadvantages of MVC-2 Architecture?

2 Answers   Process IT,


How many servlet controllers are used in a Struts Application?

1 Answers  


Are struts still used?

1 Answers  


What is the actionform?

1 Answers  


Why is action servlet a singleton in struts?

1 Answers  


what is the difference between ServletContext and ServletConfig?

4 Answers  


can we change the location of struts-config.xml file?

2 Answers   TCS,


What is spring hibernate and struts in java?

1 Answers  


Categories