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 @result annotation?
In which order struts framework searches for a message bundle?
Can you explain aware interfaces in struts2?
How can we group related actions in one group in Struts?
What is action support class in struts2?
What is struts xml?
How interceptor works in struts 2?
Why use struts framework in java?
What are the core classes of the struts framework?
What does params interceptor?
What are the two scope types for formbeans?
What are best practices to follow while developing Struts2 application?
What are the two types of validations supported by validator framework?
What is the use of forwardaction?
What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?