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?

Answers were Sorted based on User's Feedback



What is Model 1 and Model 2?..

Answer / 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

What is Model 1 and Model 2?..

Answer / prasanna sahu

model 1 is page-centric pattern, here the control flows from
1 jsp page to another.
model 2 has segregation of model, view and controller.All
request has to be first landed in the controller, the
controller comes in the center stage, it is only who decides
where the control should flow.

Is This Answer Correct ?    8 Yes 0 No

What is Model 1 and Model 2?..

Answer / sweety

model 1 is nothing but the domain information model
model 2 is nothing but the domain application model

Is This Answer Correct ?    2 Yes 1 No

Post New Answer

More Struts Interview Questions

What is the difference between shocks and struts?

0 Answers  


session menagement in servlets explaion briefly?

1 Answers  


What is filter dispatcher in struts?

0 Answers  


How to use forward action to restrict a strut application to mvc?

0 Answers  


In ActionClass we can use only one action i.e execute(), but in DispatchAction we can use multiple actions.My question is , we can use multiple actions in Action class if(action.equals("add") if(action.equals("update"). Then when to use Action and DispatchAction which is frequently in webapplications.

2 Answers  


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

0 Answers  


How can we write our own interceptor and map it for action?

0 Answers  


How to display validation errors on jsp page?

0 Answers  


How struts 2 validation works?

0 Answers  


Name some of the features of struts2?

0 Answers  


What is form bean in struts?

0 Answers  


Hi All thanks in advance, iam new to j2ee currently in my project we r using struts with hibernate can i have one sample application like CRUD application with code or any tutorials liks r ebooks plz....?

1 Answers   IBM,


Categories