Wat is Difference between Mvc1 architecture and Mvc2
Architecture?

Answer Posted / chittaranjan meher

Features of MVC1:
1. Html or jsp files are used to code the presentation. To retrieve the data JavaBean can be used.
2. In mvc1 archictecture all the view, control elements are implemented using Servlets or Jsp.
3. In MVC1 there is tight coupling between page and model as data access is usually done using Custom tag or through java bean call.
Features of MVC2:
1. The MVC2 architecture removes the page centric property of MVC1 architecture by separating Presentation, control logic and the application state.
2. In MVC2 architecture there is only one controller which receives all the request for the application and is responsible for taking appropriate action in response to each request.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the role of action class in struts?

756


Is struts 1 still supported?

706


What is the purpose of @beforeresult annotation?

773


Are actions thread safe?

744


Can you explain custom tag?

773


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

764


What is struts2 namespace?

696


How can link tag’s action attribute be used?

709


What does it cost to replace struts?

719


What is use of i18n interceptor?

742


What is the actionform?

767


Difference between html tags and struts specific html tags

684


How can duplicate form submission be handled in struts 2?

734


What is life cycle of an interceptor?

772


What is the purpose of redirect result type?

775