What is MVC?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
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 |
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 |
Can we write our own ActionServlet for front controller of Struts Applications?
How we can controlled duplicate form submission in struts?
How Struts internally works? For Example if we type the URL "/login.do" how the process goes internaly? How the struts-config.xml loaded?
What do you mean by actionservlet?
who will run the execute method in struts?
What is the purpose of @customvalidator annotation?
tell me struts flow ?
5 Answers BA Continnum Solutions, Exira, Fidelity, iGate,
What is struts in java with example?
Can we have multiple struts config files in a single web app?
What is struts-default package and what are it’s benefits?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What are apache struts?