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...

What is the main difference between Mvc1 and Mvc2 Architecture??

Answer Posted / baba

There is nothing like MVC1 or MVC2. Sun specification talks
about Model - 1 and Model - 2 architecture. MVC or Model -
View - Controller architecture is equivalent to the Model -
2 architecture. In MVC the central idea is separation of
business logic and presentation logic, which was a
shortcoming of the Model - 1. You cannot have complex
business logic in your JSP, thats bad practice. In Struts
the ActionServlet is based on the FrontController Design
pattern. Ideally in MVC there are JSP pages to handle the
presentation logic, the model to encapsulate business data
and manipulation logic and a controller to co-ordinate
between the view and model.

Is This Answer Correct ?    32 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is value stack?

1044


What is the default suffix for Struts2 action URI and how can we change it?

1006


Why we use struts in java?

935


What is the difference between struts and spring? Explain

916


What steps are required to for an application migration from Struts1 to Struts2?

1033


If the framework doesn’t do what I want, can I request that a feature be added?

959


What is the procedure of operation of a form tag?

972


Explain struts?

1051


What is declarative exception handling in struts?

1010


How to get data from the velocity page in a action class?

967


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

1096


What is the differences between struts1 and struts2?

946


What are the reasons for an error message not being displayed while developing struts application?

951


What is action support class in struts2?

1010


What is controller in struts ?

1001