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 does modeldriven interceptor?

599


What is the purpose of @conversion?

613


What is the purpose of @key annotation annotation?

608


What is life cycle of an interceptor?

562


What is the use of lookupdispatchaction?

572






What is the role of action class in struts?

567


List some struts tag libraries?

570


What is the use of resourcebundle.properties file in Struts Validation framework?

588


What is the apache struts vulnerability?

532


What are struts in java?

515


Why actionservlet is singleton in struts?

600


What is the role of action class?

581


What are the classes used as part of struts framework ?

534


What’s the difference between struts and turbine?

568


Can explain about the validations and in your project where did u used the validations?

6431