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

What is the use of jsonvalidation?

1116


What is token used for?

911


What is the purpose of @requiredstringvalidator annotation?

922


What are the ways in which duplicate form submission can occur?

925


How do you find the struts version being used in a project?

925


Explain how can we upload files in struts2 application?

1033


How is token generated?

1015


What is struts and why it is used?

940


Explain design patterns which is used in struts?

961


What configuration changes are required to use Tiles in Struts?

989


What is the purpose of @createifnull annotation annotation?

1023


What is the purpose of @result annotation?

1134


Explain about struts dispatch action?

977


Do I have to credit struts on my own website?

988


What is the use of execAndWait interceptor?

1019