Answer Posted / 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 |
Post New Answer View All Answers
What is the need of struts?
How can forward action be used to restrict a strut application to mvc?
What are the 5 constants of action interface?
What is the purpose of @before?
What is use of i18n interceptor?
How is a lookup dispatch action created?
What is strut action mapping?
What is struts framework in java?
What is the role of action class in struts?
Which components are available using actioncontext map?
What are the some useful annotations introduced in struts2?
what is meant by Struts Validator Framework?
Mark the differences between html tags and strut specific html tags.
Why we use struts over servlets?
What is the struts in java?