What is Model 1 and Model 2?
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is pojo in struts2?
Why aren’t the struts tags maintained as part of the jakarta taglibs project ?
How to carryout the validations in struts if the validator frame work cant handle the validation
What is an interceptor stack?
which MVC architecture struts follows and why?
explain method overridding method overloding with examples?
What is difference between perform() used in struts1.0 and execute() used in 1.1 ?
why we use struts in our web application , means what was drawbacks of servlet ...pls answer
What is controller in struts2?
What is the procedure of operation of a form tag?
What are the advantages of spring mvc over struts mvc?
How many action classes can be used in struts application?