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 purpose of @keyproperty annotation annotation?
What is dispatch action class?
What are struts in java?
What is the purpose of @result?
How can we get Servlet API Request, Response, HttpSession etc Objects in action classes?
What is the actionform?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?
Name the different types of actions found in struts.
What is struts and why it is used?
Is there a particularly good ide to use with struts?
What is value stack?
How can we display all validation errors to user on jsp page?
How exceptions are handled in struts application?
When should we use SwtichAction?
How to override the default error message that can come during file uploading process?