who will run the execute method in struts?

Answer Posted / raghavendra

ActionServlet is nothing but the struts framework.

The ActionServlet cretaes the formbean object and if
required creates the action class and calls the validate
method(if validate = true in struts-config.xml).

If any errors returned by validate method, it forwards the
request to the resourse specified in input attribute.

If no errors returned by validate method,struts execute the
execute method.

Is This Answer Correct ?    6 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the design role played by struts?

535


What is the difference between struts and spring?

497


What is Custom Type Converter in Struts2?

599


What are the bundled validators?

566


What is the use of form bean in struts?

483






What is the purpose of @conversionerrorfieldvalidator annotation?

591


What are the custom tags?

506


What are the important methods of actionform?

563


Which configuration files are used in struts?

502


Are actions thread safe?

519


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

564


What is value stack?

600


What is the purpose of @validations annotation?

542


Which interceptor is responsible for file upload support?

556


Can we handle exceptions in Struts programmatically?

499