| Back to Questions Page |
| Question |
its a ActionForm controller or model? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Ravi |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Action Form is a Controller.Model means Business logic  |
1 | Madhuchilipi |
| |
| |
| Answer |
Actually model is designed to handle business logic and
data.
Action Form is basically carrying the data from view to
Action Class,so it is coming under model.  |
0 | Ratheeshnellikkal |
| |
| |
| Answer |
Which one is correct in above two answers????
Please clarify. Iam getting confused  |
0 | Sandya |
| |
| |
|
|
| |
| Answer |
hi Sandya,
ActionForm means bean(having setters and getters+validate
())
bean menas model. so ActionForm means Model.
not controller.
Servlet can act as Controller only.
if u have any quires,please contact me
at:ballem_rb@yahoo.co.in  |
0 | Ramesh |
| |
| |
| Answer |
My doubt is clarified.
Thanq Ramesh.  |
0 | Sandya |
| |
| |
| Answer |
Its a MODEL  |
0 | Ram-sd Softech |
| |
| |
| Answer |
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...  |
0 | Mohan |
| |
| |
| Answer |
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  |
0 | Ysr |
| |
| |
| Answer |
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  |
0 | Ysr |
| |
| |
| Answer |
Think of concept MVC. According to the Architecture(I hope
u know about this s***) for controller we have servlet
controller ,model as serve u with the business and
actionForm (think of action submit ) which is used for the
form validation which is far far away from other two
component
:-)  |
0 | Pope |
| |
| |
| Answer |
Model are the classes that contains the code according to
the businees logic of the company.This logic is called
business logic.
In case of MVC 2 architecture, the contoller is a
combination of ActionServlet, Action classes and formbean
(ActionForm ) classes.  |
0 | Raghavendra |
| |
| |
| Question |
how you implement and maintain your struts project by using
MVC2 arch? |
Rank |
Answer Posted By |
|
Interview Question Submitted By :: Ravi |
|
I also faced this Question!! |
© ALL Interview .com |
| Answer |
Struts follows MVC2
MVC2 is a frame work
What is meant by Frame wrok?
Our senior people has given one format to implement
application..We have to follow that procedure(Its a std One)  |
0 | Venkateswara Reddy |
| |
| |
| Answer |
Hello there is no MVC2 in struts. tht is model2 or MVC.
struts or model2 or MVC all are same.  |
0 | Bhaskar Jindam |
| |
| |
|
| |
|
Back to Questions Page |