Request Processing Life cycle by R4R Team

Request Processing life Cycle

 

The request processing lifecycle of Struts2 framework is important to discuss in the Architecture of the struts 2 framework to understand the flow of request and response in our application

1.      Request is generated by user in their browser and sent to Servlet container.

2.      Servlet container invokes FilterDispatcher filter which in turn determines appropriate action mapped to the particular request.

3.      One by one Intercetors are applied before calling the Action. Interceptors  performs tasks such as Logging, Validation, File Upload, Double-submit guard, searching, shorting, merging etc.

4.      Action is executed and the Result is generated by Action.

5.      The output of Action is rendered in the view (JSP, Velocity, etc) and the result is returned to the user.

Leave a Comment:
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!