Advertisement

搭建SpringMVC应用的步骤

阅读量:
  1. 创建一个新的空Maven项目并将其设为父项目,并移除src目录。
  2. 向该父目录引入必要的依赖项。

spring,servlet,jsp,jstl…

复制代码
    <dependencies>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.12</version>
        </dependency>
        <dependency>
            <groupId>org.springframework</groupId>
            <artifactId>spring-webmvc</artifactId>
            <version>5.1.9.RELEASE</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>2.5</versio

全部评论 (0)

还没有任何评论哟~