
what is viewresolver?

Hi This is Babul
i am writing some diffrences between Spring and Struts 1. Struts is a web framework only, Struts can be compare with the SpringMVC. And SpringMVC is subset of the Spring framework. So we can say that Sturts can be seen as the subset of the spring framework in functionality point of view. 2. What Action class do in struts, Controller does in Spring. And action in Struts is a Abstract class but Controller in Spring is an interface, This is very good advantage of the spring. 3. Spring don?t have any action from, it bind the http form values directly into pojo. Instead of initializing the form bean spring directly initialize the domain object. 4. ActionForward in struts is replace with the ModelAndView in Spring. Model component contain the business object to be displayed via view component. 5. Unlike Struts Spring don?t provide any separate tag library.

ViewResolver is an interface that can resolve views by name. It provides mapping between view names and real views.View state doesn't change during the running of the application, implementations are free to cache views and are encouraged to support internationalization.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.