Struts 2 is slightly different from a traditional mvc framework where the action takes the role of the model rather than the controller although there is some overlap the above diagram depicts the model view and controller to the struts2 high level architecture. The architecture and flow of struts 2 application is combined with many components such as controller actionproxy actionmapper configuration manager actioninvocation inerceptor action result etc here we are going to understand the struts flow by 2 ways struts 2 basic flow struts 2 standard architecture and flow provided by apache struts. Struts 2 architecture the following diagram depicts the architecture of struts 2 framework and also shows the the initial request goes to the servlet container such as tomcat which is then passed through standard filer chain image struts 2 architecture the filter chain includes action contextcleanup filter. Introduction of struts 2 framework apache struts 2 is an elegant extensible framework for creating enterprise ready java web applications the framework is designed to streamline the full development cycle from building to deploying to maintaining applications over time. Struts mvc architecture tutorial by meyyappan muthuraman during the startup the actionservelet reads the struts configxml file and creates a database of configuration objects
How it works:
1. Register a Free 1 month Trial Account.
2. Download as many books as you like ( Personal use )
3. No Commitment. Cancel anytime.
4. Join Over 100.000 Happy Readers.
5. That's it. What you waiting for? Sign Up and Get Your Books.