In Struts, the hierarchy is, first the control will go to web.xml, then it will check for struts-config.xml in it, it will access struts-config.xml and then it will go into the action-mapping where it will check for the Action class and accordingly it will call the jsp class from the input attribute present in struts-config.xml and then forward to the correct page.

3 Users have rated as useful.
Login to rate this answer.
Struts-config.xml plays an important role in struts framework and it is used mainly to have an access to various Action classes using the Action-mapping element and then to forward it to appropriate jsp files.
Login to rate this answer.
The struts tag libraries include bean tag,template tag,tiles tag,logic tag,html tag libraries.
Login to rate this answer.
When the request is recived by ActionServlet it looks for the ActionMapping entries in the Struts-config.xml. ActionMapping returns the appropriate Action class where we handle the business logic.Finally execute() returns the ActionForward key (View).
Login to rate this answer.
When we send the request from client then first it touches the ActionServlet--->RequestProcessor---->ActionForm(do the required validations)---->Action (execute method is executed)---->Service class(it is the model layer of MVC design pattern)----->DAO class(this class is used to interact with the database)----->response of database interaction is sent back to Action class--->Action class will display the response in terms of JSP on the client machine.
Login to rate this answer.