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

How struts2 supports internationalization?

658


How is declarative handling of exceptions done in struts ?

480


What is the struts in java?

512


How can link tag’s action attribute be used?

526


Can we have multiple struts config files ?

543






Why are struts tightly coupled?

593


How is the mvc design pattern used in struts framework?

520


What is interceptor in Struts2?

570


How to convert struts to spring mvc?

539


How does one create an action in struts 2?

530


Explain design patterns which is used in struts?

540


What is Custom Type Converter in Struts2?

631


What is struts actionmapping?

529


What is the purpose of struts.properties in struct2?

531


What is the use of forwardaction?

550