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
What is the purpose of @urlvalidator annotation?
How to handle exceptions in structs?
Explain the difference between dispatchaction and lookupdispatchaction in struts?
What are Struts2 core components?
What is the use of token interceptor in Struts2?
What is the difference between plain-validator and field-validator?
What is role of action class?
How is token generated?
What is Struts2?
Why do we use struts?
What is the design role played by struts?
Are the struts tags xhtml compliant ?
Are interceptors and filters different?
What is the use of lookupdispatchaction?
What is the use of reset method of ActionForm class?