What is the main difference between Mvc1 and Mvc2 Architecture??

Answer Posted / harish kumar

In model1 only JSP and Beans are involved . JSPs are used
for logic and presentation and JSP decides the flow of
control. beans work as model.
Whereas in Model2 there is servlet that act as a front
controller i.e. all the requests are handled by the front
controller and forwarded to JSPs or model . therefore
presentation and business logic remains separate in model2.

Is This Answer Correct ?    15 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the purpose of @requiredstringvalidator?

560


Can we use struts and spring together?

533


What is the purpose of action tag in struts.xml?

560


How duplicate form submission can be controlled in struts?

646


Where can I get help with struts?

567






how to get the last 10 elements using logic:iterate in struts with hiernate from database.

4040


What is token used for?

511


What is java struts?

540


What’s the difference between struts and espresso?

504


State the procedure for using forward attribute of link tag’s.

541


What is the purpose of global-forwards tag in struct-config.xml?

582


What are the conditions for actionform to work correctly?

523


What does execandwait interceptor?

550


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

544


How is the action mapping specified?

550