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 purpose of @emailvalidator annotation?
What are result types in struts?
Are the struts tags xhtml compliant ?
Explain the components of struts?
What is the procedure of operation of a form tag?
How does struts work?
What do you mean by tiles in struts?
What are inner class and anonymous class?
What is the purpose of @key annotation annotation?
What is http forward?
Give an example where struts tiles may be used?
Why it called struts?
What is the role of action class?
What is Custom Type Converter in Struts2?
How is declarative handling of exceptions done in struts ?