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 / b.sivaramakrishnan

MVC1 Architecture has a Model part as (classes,Bean classes
connectivity of Database), View part as jsp pages,and here
only one controller Servlet is used .here we send request
form browser by jsp page it goes to servlet(controller)
servlet get information from the request acording to request
it fatch information form classes(Models) and give responce
to the view part( to the Jsp Page).

In MVC2 Architecture we use Struts FrameWork which is a Open
Source FrameWork.Here Browser send Http Request to the
ActionServlet that Reads StrutsConfig.XML (these two play
role of Controller) then it goes to Model part acording to
request by Browser. Here in Action part we have DataBase,
ActionForm(Basicly Beans or EJB) and that give a response to
View Part As Jsp Page to the Browser.

Is This Answer Correct ?    22 Yes 10 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4461


What are action errors?

934


What is the role of action class?

1001


What is the purpose of form-beans tag in struct-config.xml?

882


What is defeult result type?

1018


Name some useful annotations introduced in Struts2?

927


What is package name in struts xml?

949


What is the configuration files used in struts?

912


What is the role of action class in struts?

989


What is role of action class?

991


What is action support class in struts2?

947


Can we handle exceptions in Struts programmatically?

933


Why is it called struts?

894


What is the purpose of @expressionvalidator annotation?

989


Explain how can we upload files in struts2 application?

1009