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 Model 1 and Model 2?

Answer Posted / dsr

model 1 is a mvc1 pattern, it has no controler. Model 2 is
a mvc2 patern, it has action controler. In mvc1 the
request goes to jsp page and response also goes to jsp
page, this is jsp to jsp relation. In mvc2 there is one
controler available, the controler name is action
controler. The re quest goes to controler and searching
the related classes in structs-config.xml file and then
related the classes files will be executed and response
goes to view(jsp or html) page.

Is This Answer Correct ?    19 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to use dispatchaction?

1047


What is the use of jsonvalidation in struts?

997


What are pull and push mvc architecture and which architecture does struts2 follow?

938


Explain about struts?

969


What is use of i18n interceptor?

990


Does apache tomcat use struts?

927


Explain the difference between dispatchaction and lookupdispatchaction in struts?

6365


What is Custom Type Converter in Struts2?

1103


Explain the difference between jakarta struts and apache struts?

950


What are the life cycle methods of interceptor?

977


What is actioncontext?

961


What are the conditions for actionform to work correctly?

1043


Why we use struts over servlets?

1076


What is struts2 in java?

1048


Why actionservlet is singleton in struts?

1019