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

What do you mean by inner class and anonymous class?

991


Which class is the Front Controller in Struts2?

925


What is the purpose of struct-config.xml in struct2?

922


How do you convert struts to springs?

973


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

903


How duplicate form submission can be controlled in struts?

1063


How action mapping is configured in Struts?

1039


How to use dispatchaction?

982


Which components are available using actioncontext map?

1120


What’s the difference between validation.xml and validator-rules.xml files in struts validation framework?

956


What is the purpose of @keyproperty annotation annotation?

929


Name some of the features of struts2?

972


What are the important methods of actionform?

1011


What are the differences between http direct and http indirect?

904


What is the purpose of @key annotation annotation?

1028