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
What is the design role played by struts?
What is the difference between struts and spring?
What is Custom Type Converter in Struts2?
What are the bundled validators?
What is the use of form bean in struts?
What is the purpose of @conversionerrorfieldvalidator annotation?
What are the custom tags?
What are the important methods of actionform?
Which configuration files are used in struts?
Are actions thread safe?
What is the purpose of action-mappings tag in struct-config.xml?
What is value stack?
What is the purpose of @validations annotation?
Which interceptor is responsible for file upload support?
Can we handle exceptions in Struts programmatically?