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 inner class and anonymous class?
What are Struts2 core components?
How does one create an action in struts 2?
What do you mean by actionform?
Give an example of validates method used to avoid errors.
How do struts work?
Are actions thread safe?
Name the different types of actions found in struts.
State the procedure for using forward attribute of link tag’s.
Explain about the process of functioning of the struts program?
How client side validation is enabled on a jsp form?
How exceptions are handled in struts application?
What are the classes used as part of struts framework ?
What is the struts in java?
Why do the struts tags provide for so little formatting?