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

For a single Struts application, can we have multiple struts-config.xml files?

577


Difference between html tags and struts specific html tags

502


Explain about the library tag?

590


What is strut action mapping?

504


In which method of action class the business logic is executed?

538






What is lookupdispatchaction?

550


What is the role of action class?

559


What is the difference in using Action interface and ActionSupport class for our action classes, which one you would prefer?

559


What helpers in the form of jsp pages are provided in struts framework?

523


What is difference between spring and struts?

498


Where can I get a copy of struts?

536


What is actionmapping?

591


What is the use of form bean in struts?

497


How to explain Software Bank Loan descriptions

1894


Why actionservlet is singleton in struts?

585