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 helpers in the form of jsp pages are provided in struts framework?

0 Answers  


What is struts and why it is used?

0 Answers  


what is the difference between *.do & /do.*/? So what is the diffenence btn extension mapping & path mapping.What is those difference in work effect?

6 Answers   Wipro,


What is struts2 namespace?

0 Answers  


What is an interceptor stack?

0 Answers  






Which technologies can be used at view layer in struts?

0 Answers  


How do I install struts?

0 Answers  


What types of validations are available in xml based validation in struts2?

0 Answers  


What is the use of Struts.xml configuration file?

0 Answers  


Explain about the future of struts?

0 Answers  


What is struts 2 framework in java?

0 Answers  


What are action classes in struts?

0 Answers  


Categories