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 can be created in struts?
What are the main classes which are used in struts application?
What is difference between struts1 and struts2?
What is struts in java with example?
In which method of action class the business logic is executed?
How action mapping is configured in Struts?
How can we integrate log4j in Struts2 application?
What validate() and reset() method does ?
What is validate() and reset() functions?
What is ognl?
What is the purpose of @validations annotation?
how does request processor relates to action mapping?
1.can we transfer a request from one struts application to another struts application? 2. how many types of action servlets r there what r they
How the exceptions are handled in struts?
What are the core classes of the struts framework?