explain the Struts flow?

Answer Posted / sitaram

suppose one jsp page having two text fields and one button.
when ever submit the form. the request goes to action
servlet & then loads the struts-config.xml after check the
request where exactly match the action class in the sc.xml.
then executes the action class & executes validate form bean
then execute method and redirects view form.

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of interceptor?

514


Explain design patterns which is used in struts?

528


Define struts?

616


What is purpose of execandwait interceptor?

573


Why aren’t the struts tags maintained as part of the jakarta taglibs project ?

536






What configuration files are used in struts?

521


What is the purpose of @requiredstringvalidator?

550


Can you explain the directory structure for a struts folder in brief ?

512


What is the purpose of redirect result type?

565


What are the steps required for setting up validator framework in struts?

548


How is the action mapping specified?

536


What is the purpose of @results annotation?

708


how to develop the submit and search operations in single jsp using struts?

2550


How to display validation errors on jsp page?

558


How an actionform bean is created?

556