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
What is ognl?
What is the role of action class in struts?
What is the struts in java?
Explain the life cycle of a request in struct2 application?
What is the difference between empty default namespace and root namespace?
What is xml based validation in struts2?
What are inner class and anonymous class?
What is interceptor struts2?
Explain about struts dispatch action?
What does the term struts mean?
What's the purpose of execute method of action class?
What does apache struts do?
What are the pros of struts 2?
What are the bundled validators?
How struts 2 validation works?