What is MVC Architecture?
Answer Posted / hghjgjh
Model: Model domain contains the business logics and
functions that manipulate the business data. It provides
updated information to view domain and also gives response
to query. And the controller can access the functionality
which is encapsulated in the model.
2. View: View is responsible for presentation aspect of
application according to the model data and also
responsible to forward query response to the controller.
3. Controller: Controller accepts and intercepts user
requests and controls the business objects to fulfill these
requests. An application has one controller for related
functionality. Controller can also be depends on the type
of clients.
| Is This Answer Correct ? | 23 Yes | 11 No |
Post New Answer View All Answers
What is difference between lookupdispatchaction and dispatchaction?
What is the purpose of @beforeresult annotation?
What is the purpose of @doublerangefieldvalidator annotation?
Why struts 1 classes are not thread safe whereas struts 2 classes are thread safe?
What is purpose of execandwait interceptor?
What are the benefits of Interceptors in Struts2?
When do I need “struts.jar” on my classpath?
What is the purpose of form-beans tag in struct-config.xml?
What is apache struts used for?
How tag libraries are defined in Struts?
Is struts mvc framework?
Which class is the Front Controller in Struts2?
What inbuilt themes are provided by struts2?
What is the purpose of @emailvalidator?
How can we display validation errors on jsp page?