![]() This bean will resolve the view and add prefix string /WEB-INF/jsp/ and suffix. Also we have defined a bean viewResolver. This will load our CrunchifyHelloWorld.class . This will allow Spring to load all the components from package and all its child packages. In the above crunchify-servlet.xml configuration file, we have defined a tag . So below pom.xml file may have different (latest) version of Spring MVC dependencies than above image □ Ĭreate new Spring Configuration Bean file: /WebContent/WEB-INF/crunchify-servlet.xml crunchify-servlet.xml We will keep updating this tutorial to latest Spring MVC version. Make sure you update Java version to 13 if you haven’t yet moved to JDK 13. Open pom.xml file and add below jar dependencies to project.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |