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 includeaction?
Can you explain the directory structure for a struts folder in brief ?
What is struts and why it is used?
What are the core classes of the struts framework?
What is dispatchaction?
What are the important methods of actionform?
What is the purpose of @doublerangefieldvalidator?
What is the need of struts?
What do you mean by a custom tag?
What is the use of web xml in struts2?
What is the purpose of @intrangefieldvalidator annotation?
What is the purpose of @before?
What are the main classes which are used in struts application?
How you will make available any message resources definitions file to the struts framework environment?
How to get data from the velocity page in a action class?