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 action classes can be used in struts application?
What is struts-default package and what are it’s benefits?
What is the use of Struts.xml configuration file?
What is the purpose of @after?
How does struts work?
What do you mean by actionform?
How many servlet controllers are used in a Struts Application?
What is use of i18n interceptor?
Describe the two types of formbeans.
What are the advantages of spring mvc over struts mvc?
What is the difference between filters and interceptors ?
What is DynaActionForm?
What is struts in java with example?
When do I need “struts.jar” on my classpath?
Why do we need struts?