You are here: Home / Topics / Search / spring
Showing 7 Search Results for : spring

Use ViewResolver in Spring MVC

Filed under: Spring on 2023-08-27 17:24:38
view resolver is a class in spring framework which allows us to configure urls dynamically ctrl + shift + T to open type in eclipse, search *Viewresolver you will find InternalResourceViewResolver this class will do it automatically.Make a bean of this class in mainController-servlet.xml file (

Map your Controller with the jsp file (Views) in Spring MVC

Filed under: Spring on 2023-08-27 17:24:05
In previous spring topic, we were returning a string from our methods which were written in our controller.In this topic, we are going to see how to map url with the viewNote: all the views will be stores in WEB-INF folder. You can store anywhere but it is recommended that you store all the views in