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


Please Help Members By Posting Answers For Below Questions

What is the purpose of action-mappings tag in struct-config.xml?

582


What is the default location of result pages and how can we change it?

541


In struts.xml, what does the attribute "method" stands for in the "action" tag?

517


What is action class? What are the types of action class?

518


What are the 5 constants of action interface?

536






What is java struts?

529


What is the use of form bean in struts?

492


How struts2 supports internationalization?

645


Which interceptor is responsible for i18n support?

511


In struts, how can we access java beans and their properties?

549


What is the purpose of struct-config.xml in struct2?

552


What are the benefits of Struts framework?

551


Why are frameworks used?

523


Explain struts?

544


How are interceptors and servlet filters different?

478