its a ActionForm controller or model?

Answer Posted / ysr

ActionForm not Model component
It is just a View Data Transfer class
so it just part of Controller Even Struts API also
specifing this thing.

Model component nathing but where we are connecting to
database from our appliction
suppose if we are connecting DB from our Action class i.e
Model or if we are Connecting DB from EJB's or DAO i.e the
Model so FormBean is not Model component

Is This Answer Correct ?    16 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is meant by Struts Validator Framework?

761


What is dispatchaction?

811


Which design pattern is implemented by Struts2 interceptors?

749


in struts how to use hibernate with struts>

2003


How the exceptions are handled in struts?

734


Can you explain struts.properties in struts2?

706


Explain the complete struts validator framework.

742


What are the steps involved in creating a strut application?

713


What are pull and push mvc architecture and which architecture does struts2 follow?

692


What are the features of struts?

760


What is the purpose of @beforeresult annotation?

755


What are the contents on web.xml in struts application ?

710


What is the purpose of @results annotation?

891


Explain struts?

747


Difference between struts and spring? Or why use spring, if you are already using struts?

714