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
What is actioninvocation in struts2?
What is struts?
Do we need to pay the struts if being used in commercial purpose?
Can explain about the validations and in your project where did u used the validations?
How is declarative handling of exceptions done in struts ?
What is the difference between struts1 and struts2?
What is the purpose of @customvalidator annotation?
What is the difference between session scope and request scope when saving formbean ?
What is the purpose of redirect result type?
What is action support class in struts2?
How to convert struts to spring mvc?
What is form bean in struts?
What’s the difference between struts and turbine? What’s the difference between struts and espresso?
How can forward action be used to restrict a strut application to mvc?
Are struts still used?