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 actionservlet?
What are the two types of validations supported by validator framework?
Explain the difference between plain-validator and field-validator in struts?
How properties of a form are validated in Struts?
How do you find the struts version being used in a project?
How does one create an action in struts 2?
Explain architecture of struts2?
What configuration files are used in struts?
Do I have to credit struts on my own website?
What does the term struts mean?
What are the steps used to setup dispatch action?
When should we use SwtichAction?
What is the use of token interceptor in Struts2?
What is purpose of execandwait interceptor?
What are the cons of struts 2?