life cycle of struts?

Answer Posted / chandu

The request is given to Action Servlet i.e; doGet or
doPost.
ActionServlet with the help of request uri locates one of
the RequestProcessor and dispatch the request to
RequestProcessor i.e; process method on RequestProcessor is
called InRequestProcessor.

It processes content type.
processes Locale.
processes actionPath.
processes actionMapping.
processes formBean.
processes action.
Error handling.

After processing action(i.e; execute method) depending on
the results locate the path to view(with the help of
ActionMapping) and dispatch the request to the located
path.

Is This Answer Correct ?    27 Yes 12 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by the abstract package in struts2, and what is its utilization?

507


What is the use of struts?

513


How nested beans can be used in Struts applications?

548


What is apache struts vulnerability?

541


how to debug struts project in netbean ?

1919






What is the purpose of @before annotation?

583


What is the difference between requestaware and servletrequestaware interface?

576


What is the purpose of @requiredstringvalidator?

558


What is the difference between validation.xml and validator-rules.xml files in struts?

511


Explain about token feature in struts?

551


What is actionmapping?

596


Which model components are supported by Struts?

563


What are the steps of struts installation?

568


Is struts 1 still supported?

508


What do you mean by tiles in struts?

540