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 role of action class in struts?
Is struts 1 still supported?
What is the purpose of @beforeresult annotation?
Are actions thread safe?
Can you explain custom tag?
State the procedure for using forward attribute of link tag’s.
What is struts2 namespace?
How can link tag’s action attribute be used?
What does it cost to replace struts?
What is use of i18n interceptor?
What is the actionform?
Difference between html tags and struts specific html tags
How can duplicate form submission be handled in struts 2?
What is life cycle of an interceptor?
What is the purpose of redirect result type?