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 |
What is struts in java with example?
What is the configuration files used in struts?
What do you mean by dynaactionform?
How to handle exceptions in structs?
what r the disadvantages of MVC-2 Architecture?
How many servlet controllers are used in a Struts Application?
Are struts still used?
What is the actionform?
Why is action servlet a singleton in struts?
what is the difference between ServletContext and ServletConfig?
can we change the location of struts-config.xml file?
What is spring hibernate and struts in java?