Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

How you will enable front-end validation based on the xml in validation.xml?

1160


What is the difference between validation.xml and validator-rules.xml files in struts?

968


What do struts do?

1014


Can we handle exceptions in Struts programmatically?

1012


What are the benefits of Interceptors in Struts2?

1213


How you will make available any message resources definitions file to the struts framework environment?

1030


What is the configuration files used in struts?

1018


How is the mvc design pattern used in struts framework?

1029


How can we handle exceptions thrown by application in Struts2?

999


Name some of the features of struts2?

1097


What is request processor and how does it relates to action mapping?

1095


Why use spring, if you are already using struts?

1063


What is struts.devmode?

1102


What is the purpose of @results annotation?

1384


Why are struts tightly coupled?

1031