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
What is the use of web xml in struts2?
What is front controller in struts2?
Explain about logic match tag?
How action mapping is configured in Struts?
Briefly tell the two kinds of form beans.
What is the purpose of action-mappings tag in struct-config.xml?
What is actioncontext?
What is difference between lookupdispatchaction and dispatchaction?
Explain the core end goal while using java struts?
Explain about how requests from the client are sent?
What are the Core classes of Struts Framework?
What does modeldriven interceptor?
What is role of actionservlet?
Explain how can we upload files in struts2 application?
What is the struts in java?