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 Custom Type Converter in Struts2?
How you will enable front-end validation based on the xml in validation.xml?
What is struts 2 framework in java?
How is the mvc design pattern used in struts framework?
What is the purpose of @createifnull annotation annotation?
Describe the basic steps used to create a tiles application?
What types of validations are available in xml based validation in struts2?
What is the default suffix for struts2 action uri ?
What is struts and springs in java?
What are the aware interfaces in struts2?
What configurations are stored in struts configuration file ?
How is token generated?
What is the purpose of execute method of action class?
Can I have html form property without associated getter and setter formbean methods?
What is the purpose of @action annotation?