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 action class?

579


What are the steps of struts installation?

568


What is validate() and reset() functions?

559


How is the action mapping specified?

544


How does struts work?

546






How client side validation is enabled on a jsp form?

590


What is the default suffix for struts2 action uri ?

550


How to combine the struts with velocity template?

488


Can you explain aware interfaces in struts2?

582


What are struts in java?

502


List the important attribute and elements of action mapping under struts.

524


What is struts and springs in java?

524


What is the purpose of @emailvalidator annotation?

493


Difference between struts and spring?

581


Why actionservlet is singleton in struts?

588