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


Please Help Members By Posting Answers For Below Questions

Explain architecture of struts2?

589


What is the purpose of @urlvalidator annotation?

557


What is the purpose of @element annotation annotation?

605


At the point, you should go for struts framework?

549


What is the life cycle of actionform?

557






How nested beans can be used in Struts applications?

552


How do u provide security to ur project?(Banking domain project)

4449


How to get data from the velocity page in a action class?

569


What are the struts2 error message keys that can come during file uploading process?

610


What is difference between lookupdispatchaction and dispatchaction?

634


What is difference between interceptors and filters?

541


What is the role of a handler in mvc based applications?

755


How we can install struts?

560


What is the purpose of @after?

589


How the exceptions are handled in struts?

538