ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 


 

Company >> Patni >> Interview Questions >> Struts Interview Questions
 
  USA Dependent Visa H4 Visa Interview Questions (1)   General Aptitude Interview Questions (1)   Non Technical Interview Questions (1)
  Business Administration Interview Questions (1)   HR Interview Questions (4)   FI CO Interview Questions (3)
  MM Interview Questions (2)   SD Interview Questions (5)   ABAP Interview Questions (5)
  Basis Interview Questions (2)   Data Warehouse General Interview Questions (1)   Data Stage Interview Questions (1)
  Informatica Interview Questions (2)   Business Objects Interview Questions (5)   Struts Interview Questions (2)
  Servlets Interview Questions (2)   Swing Interview Questions (2)   Advanced Java Interview Questions (1)
  Core Java Interview Questions (2)   IBM AS400 AllOther Interview Questions (1)   VSAM Interview Questions (2)
  DB2 Interview Questions (1)   CICS Interview Questions (1)   COBOL Interview Questions (3)
  QA Concepts Interview Questions (2)   Manual Testing Interview Questions (17)   QTP Interview Questions (2)
  WinRunner Interview Questions (2)   Data Structures Interview Questions (1)   Linux Commands Interview Questions (1)
  SQL Server Interview Questions (1)   Database Management Interview Questions (1)   Dot Net AllOther Interview Questions (1)
  VB.NET Interview Questions (3)   ASP.NET Interview Questions (4)   C Sharp Interview Questions (2)
  Networking AllOther Interview Questions (1)   PHP Interview Questions (1)   MFC Interview Questions (2)
  C++ General Interview Questions (1)   OOPS Interview Questions (1)
 
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
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com