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

How do you find the struts version being used in a project?

506


What is the default suffix for struts2 action uri ?

542


What is the purpose of redirect result type?

565


What are action errors and error and what are the consequences they impose?

553


What is actionform in struts?

475






Why are springs better than struts?

597


How the flow of various requests happens in struts application?

524


What is request processor and how does it relates to action mapping?

572


How client side validation is enabled on a jsp form?

585


Is struts action class singleton?

539


What are apache struts?

505


What are the differences between http direct and http indirect?

462


Does Struts2 action and interceptors are thread safe?

595


What is difference between interceptors and filters?

526


What is the purpose of @conversionerrorfieldvalidator annotation?

610