当前位置 : 主页 > 编程语言 > java >

配置jsp相关

来源:互联网 收集:自由互联 发布时间:2021-06-25
properties jstl.version1.2/jstl.version servlet-api.version2.5/servlet-api.version jsp-api.version2.0/jsp-api.version/propertiesdependencyManagement dependencies !-- JSP相关 -- dependency groupIdjstl/groupId artifactIdjstl/artifactId vers
<properties>
    <jstl.version>1.2</jstl.version>
    <servlet-api.version>2.5</servlet-api.version>
    <jsp-api.version>2.0</jsp-api.version>
</properties>

<dependencyManagement>
    <dependencies>
        <!-- JSP相关 -->
        <dependency>
            <groupId>jstl</groupId>
            <artifactId>jstl</artifactId>
            <version>${jstl.version}</version>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>servlet-api</artifactId>
            <version>${servlet-api.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>javax.servlet</groupId>
            <artifactId>jsp-api</artifactId>
            <version>${jsp-api.version}</version>
            <scope>provided</scope>
        </dependency>
    </dependencies>
</dependencyManagement>
网友评论