tell me struts flow ?
Answer Posted / ram-sd softech
1. When we start a web application based on struts the web
container creates a
servlet object based on
2. The web container creates the request and response
objects.
3. The web container calls the service method of Action
Servlet by passing the request and the response objects.
4. The Code of Action Servlet checks the struts-
config.xml with path /action at action mappings tag we
discussed how is that as earlier (page-8). Now if it is
there then it creates the ActionOne Object then after it
calls the execute method of ActionOne class.
5. After that it forwards to jsp.If any problem eraises
it shows Exception.
6. After that the Web container will start the execution
of .jsp as we discussed in JSP’s.
Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
How struts 2 validation works?
How to combine the struts with velocity template?
What are the struts2 configuration properties that control file uploading process?
What is the flow of requests in struts based applications?
What are the differences between http direct and http indirect?
What is filter dispatcher in struts?
What are the custom tags?
Can you explain struts validator framework?
What do you mean by inner class and anonymous class?
Can we have more than one struts-config.xml file for a single struts application?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
Explain the components of struts?
How many servlet controllers are used in a Struts Application?
Will the struts tags support other markup languages such as wml ?
How can you create your custom interceptor in struts 2?