Wat is Difference between Mvc1 architecture and Mvc2
Architecture?
Answer Posted / rahul
MVC1 (Page-centric Architecture): There is no clear
distinction between view and a controller. In Java terms,
there is JSP page (view and partial controller) which itself
controls Business logic (Model) that is why it is also
called as page-centric architecture. Fig 2 below shows MVC1
implementation.
MVC2 (Servlet-centric architecture): MVC2 incorporates a
clear separation of view and controller. A controller
receives all the requests, retrieves data from a Model and
forwards it to next view for presentation.
In Java terms, there is a central Servlet (Controller) which
calls business logic (Model) and the forwards it particular
JSP page (View) that is why it is also called
servlet-centric architecture. Diagram below depicts MVC2
implementation
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How many struts config file in a struts application?
Who wrote struts?
Can you explain value stack?
What does i18n interceptor?
What is struts?
What configuration changes are required to use resource files in Struts?
Can you explain struts validator framework?
What do you mean by inner class and anonymous class?
What does apache struts do?
Explain struts.devmode?
What is front controller in struts2?
List some struts tag libraries?
What is struts2 framework?
What is strut web xml?
What are the steps required for setting up validator framework in struts?