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 does action do in struts?

549


What is execute method in struts?

504


How to work with error tags?

577


Define struts?

637


Can you explain struts.properties in struts2?

541






What is the design role played by struts?

562


What is the configuration files used in struts?

537


How can we integrate log4j in Struts2 application?

572


Which design pattern is implemented by Struts2 interceptors?

562


Who wrote struts?

564


Explain how to work with error tags?

598


What is actionmapping?

610


What is the purpose of global-forwards tag in struct-config.xml?

592


How is forward action used for integration?

578


What is the difference between Jakarta Struts and Apache Struts? Which one is better to use?

590