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

Can we handle exceptions in Struts programmatically?

736


What are the features of struts?

785


What is the naming convention for a resource bundle file in struts2?

752


What is the purpose of @emailvalidator?

759


What’s the utilization of resource bundle properties file in struts validation structure?

832


What are result types in struts?

768


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

696


What is purpose of execandwait interceptor?

799


What applications use apache struts?

708


Explain the complete struts validator framework.

770


Why it called struts?

741


What is the purpose of @conversionerrorfieldvalidator annotation?

875


What do you mean by actionservlet?

770


What is the use of struts config xml file?

673


Give an example where struts tiles may be used?

765