its a ActionForm controller or model?

Answer Posted / mohan

I agree with Ramesh, Actionform is just a bean whr we will
be having setters and setters and some business logic and
validation rules, so its becomes Model, where as a Action
Class consists of ActionServlet, which as an intermediate
between Model and View(JSP), so the Action class becomes
the Controller... hope it helps...

Is This Answer Correct ?    6 Yes 4 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we integrate log4j in Struts2 application?

560


What is actioninvocation?

538


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

6396


in struts how to use hibernate with struts>

1825


What is the purpose of @results annotation?

712






What is xml based validation in struts2?

555


Explain the necessity of empty tag?

596


Where can I get a copy of struts?

539


What is actionmapping?

596


How you will make available any message resources definitions file to the struts framework environment?

554


What is the purpose of @result?

577


How can link tag’s action attribute be used?

522


What is front controller in struts2?

552


Give an example of validates method used to avoid errors.

505


What are construction struts?

509