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
Explain about tiles?
How to convert struts to spring mvc?
In which method of action class the business logic is executed?
What is the purpose of action-mappings tag in struct-config.xml?
What is action class? What are the types of action class?
What is role of actionservlet?
What is the purpose of '@customvalidator'?
Explain about struts dispatch action?
What is the use of execAndWait interceptor?
Why we use struts in java?
How struts control data flow?
Is struts efficient?
What are the classes used in struts?
How to combine the struts with velocity template?
Who wrote struts?