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
Do I have to credit struts on my own website?
How to display validation errors on jsp page?
What are the two types of validations supported by validator framework?
Which components are available using actioncontext map?
What is the use of Struts.xml configuration file?
Explain how to work with error tags?
What steps are required to for an application migration from Struts1 to Struts2?
What is ognl?
Give an alternative way to protect jsp’s with not much features from direct access.
If the framework doesn’t do what I want, can I request that a feature be added?
What are the conditions for actionform to work correctly?
How is a lookup dispatch action created?
How to use forward action to restrict a strut application to mvc?
What is the significance of logic tags in Struts?
What do you mean by actionform?