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 are interceptors and servlet filters different?
How to explain Software Bank Loan descriptions
What is struts2 in java?
What is controller in struts ?
What is the purpose of @conversion annotation annotation?
What are the advantages of spring mvc over struts mvc?
What is difference between actionform and dynaactionform?
What is the difference between filters and interceptors ?
What is the purpose of @expressionvalidator annotation?
When do I need “struts.jar” on my classpath?
What is the purpose of struts.xml in struct2?
What are the custom tags?
How struts2 supports internationalization?
How you will make available any message resources definitions file to the struts framework environment?
What is struts 2 framework in java?