spring maven dependency for webmvc


Find the below spring maven dependency and sample pom.xml to run Spring MVC application
 
spring 4 maven dependency
 <dependency>
    <groupId>org.springframework</groupId>
    <artifactId>spring-webmvc</artifactId>
    <version>4.2.2.RELEASE</version>
  </dependency>

If you are using JSTL for view then add 
  <dependency>
    <groupId>jstl</groupId>
    <artifactId>jstl</artifactId>
    <version>1.2</version>
  </dependency>

Servlet Jar based on your version
  <dependency>
    <groupId>javax.servlet</groupId>
    <artifactId>javax.servlet-api</artifactId>
    <version>3.1.0</version>
  </dependency>

In the next tutorial find how to run spring 4 mvc hello world example with java based configuration - spring 4.
also click here for spring mvc hello world example with xml based configuration




  




Related Post

Comments

Donaldroorm
         Hell0?! Th?s i? congenial insane away field but I indigence s?mе hеlp frоm аn established blog. Is it ?ard to set forth up yo?r owwn blog? porn videos ?'m not quite techincal Ьut I can pattern t?ings o?t fairly quick. I'm brainwork аbout making m? own but I'm nott s?re where to start. D? you acquire any point or suggestions?

©candidjava.com