explain the Struts flow?

Answer Posted / santosh kumar

->when ur submit the form page ,ActionServlet will take the
request and check is there any action mapping with specified
saction url , if it there AS pics the name of the form
create the object for FormBean class and call its
getter,reset ,validate methods
->After validate() AS picks the action mapping type value
and create the action class and calls the execute() of
action class
->if execute return null value, AS will terminate the execution
->else AS takes the return value and send the request to
return value

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is struts2 namespace?

715


What is the use of struts config xml file?

683


What is interceptor struts2?

774


What are the benefits of Struts framework?

753


Which class is the Front Controller in Struts2?

759


What is the purpose of @emailvalidator?

776


What do you mean by action errors and what are the results they force?

854


What is apache struts used for?

726


Explain about how requests from the client are sent?

720


What are struts in java?

710


What is struts2 framework?

736


What is purpose of execandwait interceptor?

821


Do we need to pay the struts if being used in commercial purpose?

779


Can we have more than one struts-config.xml file for a single struts application?

735


When it’s useful to use IncludeAction?

769