life cycle of struts?
Answer Posted / r4avindhar
User clicks on a link in an HTML page
Servlet controller receives the request, looks up mapping information in struts-config.xml, and routes to an action.
Action makes a call to a Model layer service.
Service makes a call to the Data layer (database) and the requested data is returned.
Service returns to the action.
Action forwards to a View resource (JSP page)
Servlet looks up the mapping for the requested resource and forwards to the appropriate JSP page.
JSP file is invoked and sent to the browser as HTML.
User is presented with a new HTML page in a web browser.
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many struts config file in a struts application?
What is the purpose of @result annotation?
How is forward action used for integration?
What are the contents on web.xml in struts application ?
What is http redirect?
What is the need of struts?
State an example of struts configuration file as an action parameter for action servlet.
At the point, you should go for struts framework?
What is the purpose of @expressionvalidator annotation?
What is the use of Struts.xml configuration file?
How duplicate form submission can be controlled in struts?
Where can I get a copy of struts?
What configuration changes are required to use Tiles in Struts?
What is action chaining ?
What is struts xml?