Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


In Struts Programming which is the controller,which is the
model?

Answers were Sorted based on User's Feedback



In Struts Programming which is the controller,which is the model?..

Answer / narendher sharma

Controller components : Action Servlet,Request
Processor,Action class,struts-config,xml,web.xml

Model components : Actioform Beans
Java Beans or Enterprise java Beans
Relational Database Accesss

these are the main thing in this components

Is This Answer Correct ?    11 Yes 2 No

In Struts Programming which is the controller,which is the model?..

Answer / nazneen

A Model contains business logic and data.
In a multi-device application, the Model is implemented as standard Java Bean objects. The data contained within the Java Bean are accessed with getter and setter methods, and business logic contained in the Java Bean is invoked with method invocations. These Java Beans are bound to the View and Controller by a a part of the multi-device application


Controller:
Controller is Action Servlet

Is This Answer Correct ?    8 Yes 0 No

In Struts Programming which is the controller,which is the model?..

Answer / sathiyamoorthi

In Struts programming ActionServlet is the controller.

* Action class also part of the controller only.

We have a Business layer/data or business service in
between the session facade and data access object (DAO) is
called the Model.

Is This Answer Correct ?    9 Yes 3 No

In Struts Programming which is the controller,which is the model?..

Answer / jimmi prajapati

1 The ActionServlet and Aciton class is the controller.

and From Action Class's execute mathod, we can call other
DAO layer or any other layer.


so Action class is a Model as well as Controller

Is This Answer Correct ?    10 Yes 5 No

In Struts Programming which is the controller,which is the model?..

Answer / guest

The ActionServlet class is the controller and the action
class is the model.

Is This Answer Correct ?    12 Yes 8 No

In Struts Programming which is the controller,which is the model?..

Answer / deependra

the above given answare no 3 is correct,i thnk so

Is This Answer Correct ?    3 Yes 1 No

In Struts Programming which is the controller,which is the model?..

Answer / ganeshram

In struts,Action servlet,Request Processor,Action class and
ActionForm together form Controller.Struts doesn't provide
any component in Model Layer.

Is This Answer Correct ?    5 Yes 4 No

In Struts Programming which is the controller,which is the model?..

Answer / anas

Action classes, Servlets and Request Processing will come
under controller and Business logic (Generally EJB) will
come under Model

Is This Answer Correct ?    3 Yes 2 No

In Struts Programming which is the controller,which is the model?..

Answer / atul kumar yadav

ActionServlet class is the controller & Action Class

is the model.

Is This Answer Correct ?    4 Yes 3 No

In Struts Programming which is the controller,which is the model?..

Answer / kiran

* A Model contains business logic and data.

* A Controller manages overall application flow and
validation.

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Struts Interview Questions

What is front controller in struts?

0 Answers  


What is the purpose of global-forwards tag in struct-config.xml?

0 Answers  


What are the conditions for actionform to work correctly?

0 Answers  


what is request processor class ?

10 Answers   Fidelity,


What validate() and reset() method does ?

0 Answers  


How can duplicate form submission be handled in struts 2?

0 Answers  


Can we have multiple struts config files in a single web app?

0 Answers  


Give an example where struts tiles may be used?

0 Answers  


What is the use of forwardaction?

0 Answers  


How can we display all validation errors to user on jsp page?

0 Answers  


What is struts and why it is used?

0 Answers  


can we change the location of struts-config.xml file?

2 Answers   TCS,


Categories