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
What is action class?
What are the steps of struts installation?
What is validate() and reset() functions?
How is the action mapping specified?
How does struts work?
How client side validation is enabled on a jsp form?
What is the default suffix for struts2 action uri ?
How to combine the struts with velocity template?
Can you explain aware interfaces in struts2?
What are struts in java?
List the important attribute and elements of action mapping under struts.
What is struts and springs in java?
What is the purpose of @emailvalidator annotation?
Difference between struts and spring?
Why actionservlet is singleton in struts?