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

What is struts in java with example?

516


What is strut web xml?

535


Which interceptor is responsible for file upload support?

583


What are action errors?

573


What is the use of execAndWait interceptor?

572






What is declarative exception handling in struts?

563


What is DynaActionForm?

607


What are the various struts tag libraries?

555


What does modeldriven interceptor?

596


What’s the utilization of resource bundle properties file in struts validation structure?

629


Which configuration files are used in struts?

531


What is the purpose of action tag in struts.xml?

566


What is the naming convention for a resource bundle file in struts2?

543


What are the components of struts?

564


What is the use of web xml in struts2?

527