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 value stack?
What’s the utilization of struts.xml configuration file?
What is the purpose of @emailvalidator?
Is struts action class singleton?
Where can I get a copy of struts?
How duplicate form submission can be controlled in struts?
What is the purpose of @stringlengthfieldvalidator annotation?
How do struts work?
What is the purpose of global-forwards tag in struct-config.xml?
What is the need of struts?
Do I have to credit struts on my own website?
How to combine the struts with velocity template?
What are the loop holes of struts?
Explain design patterns which is used in struts?
State an example of struts configuration file as an action parameter for action servlet.