What is MVC?

Answers were Sorted based on User's Feedback



What is MVC?..

Answer / eldho k abraham

Model-View-Controller (MVC) is a design pattern put
together to help control change. MVC decouples interface
from business logic and data.
Model : The model contains the core of the
application's functionality. The model encapsulates the
state of the application. Sometimes the only functionality
it contains is state. It knows nothing about the view or
controller.

View: The view provides the presentation of the
model. It is the look of the application. The view can
access the model getters, but it has no knowledge of the
setters. In addition, it knows nothing about the
controller. The view should be notified when changes to the
model occur.

Controller:The controller reacts to the user input.
It creates and sets the model.

Is This Answer Correct ?    5 Yes 0 No

What is MVC?..

Answer / ravikumar

Model : Business Logic related to database modelling

View : Presentaion such as JSP, HTML, etc.

Controller : Controlls the requests and responses

Is This Answer Correct ?    3 Yes 0 No

What is MVC?..

Answer / foujil ameen

The main aim of the MVC (Model View Controller) architecture
is to separate the business logic and application data from
the presentation data to the user.

Is This Answer Correct ?    2 Yes 0 No

What is MVC?..

Answer / vikas

MVC, An architecture used for separating Business Layer
functionality represented by javabeans(the model) from the
Presentation Layer functionality represented by JSPs(the
view) using an intermediate servlet based controller.

Is This Answer Correct ?    2 Yes 0 No

What is MVC?..

Answer / guest

Model View Controller

Is This Answer Correct ?    1 Yes 0 No

What is MVC?..

Answer / venkat

MVC

Model View Controller

->Using of mvc means there will be clean seperation layers
in application devolopmaent.
->modification done in one layer does not disturb the
another layer.
->Because of parallal devolopement the productivity is
always better.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Struts Interview Questions

how handle when client send multiple request at atime for multiple servlets servlets?

3 Answers   IBM,


Why are frameworks used?

0 Answers  


How to override the default error message that can come during file uploading process?

0 Answers  


what is ForwardAction and IncludeAction in struts?

3 Answers   Mind Tree, Satyam,


what is meant by Struts Validator Framework?

0 Answers   Cap Gemini,






In struts, how can we access java beans and their properties?

0 Answers  


In ActionClass we can use only one action i.e execute(), but in DispatchAction we can use multiple actions.My question is , we can use multiple actions in Action class if(action.equals("add") if(action.equals("update"). Then when to use Action and DispatchAction which is frequently in webapplications.

2 Answers  


What is difference between struts1 and struts2?

0 Answers  


what is the purpose of load_on_startup entry in struts- config.xml?

5 Answers  


What do you mean by actionform?

0 Answers  


What is struts.devmode?

0 Answers  


How many struts config file in a struts application?

0 Answers  


Categories