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
If the framework doesn’t do what I want, can I request that a feature be added?
Explain about struts dispatch action?
Why use struts framework in java?
What is struts actionmapping?
Does Struts2 action and interceptors are thread safe?
Which components are available using actioncontext map?
What configuration changes are required to use resource files in Struts?
What is the difference between struts and spring?
What is action class?
What is the purpose of @customvalidator annotation?
In which method of action class the business logic is executed?
What do you mean by a custom tag?
What is action support class in struts2?
Name some of the features of struts2?
What is the role of action class in struts?