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

How long do struts last?

537


What is the purpose of @conversion annotation annotation?

601


What is the difference between struts and spring? Explain

489


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

627


What do you mean by actionservlet?

553






Does Struts2 action and interceptors are thread safe?

610


What is apache struts cve 2017 5638?

554


Does struts include its own unit tests?

533


What is the purpose of global-forwards tag in struct-config.xml?

586


How can forward action be used to restrict a strut application to mvc?

526


What is the purpose of struts.properties in struct2?

531


Difference between html tags and struts specific html tags

519


What are the features of struts 2?

547


Is struts action class singleton?

556


What's the purpose of execute method of action class?

534