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 ?    7 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How many struts config file can be created in struts?

498


What is difference between actionform and dynaactionform?

596


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

578


How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?

630


Explain the life cycle of a request in struct2 application?

494






In which order struts framework searches for a message bundle?

562


What do you know about validation plugin ?

515


What is the procedure of operation of a form tag?

556


At the point, you should go for struts framework?

549


Why are struts tightly coupled?

593


What is execute method in struts?

496


How is the mvc design pattern used in struts framework?

520


What is the purpose of @urlvalidator annotation?

557


What is difference between interceptors and filters?

538


Explain the difference between jakarta struts and apache struts?

529