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 are the various struts tag libraries?
What is the purpose of @emailvalidator annotation?
What do you mean by tiles in struts?
How struts 2 validation works?
What are the Core classes of Struts Framework?
Is struts 1 still supported?
How many Action classes have been used in your project? Differences between struts 1.1 and 1.3?
What's mvc pattern ?
What are the conditions for actionform to work correctly?
Where can I get a copy of struts?
Who makes the struts?
How the exceptions are handled in struts?
Provide some important Struts2 constants that you have used?
What is action support class in struts2?
What is front controller in struts2?