Struts 2 basics - Java
Struts 2 developers have identified all these modules and had builded the same. Below is how a struts 2 design will look like. Here Interceptor is the gate way through which a request is passed. It takes care of getting user request parameters, Struts 2 framework get all the request parameters from interceptor and makes it available for Action class and we don’t need to fetch it in the action class via any request or session objects like we do in Servlets , because struts 2 makes it available. Here Struts.xml acts as controller which Controls the execution flow of the request, Action class represents Model and JSP represent View layer. Note: In struts 2 the data can be displayed in jsp with tab library, Types of Actions class in Struts 2 Posted by Mohaideen Jamil on Apr 18, 2013 in Struts 2 Tutorial , Struts-2 | 0 Comments The functionality of the action clas...