1. 程式人生 > >Maven新增JSTL標籤庫依賴

Maven新增JSTL標籤庫依賴

<properties>
    ......
    <jstl.jstl.version>1.2</jstl.jstl.version>
    <taglibs.standard.version>1.1.2</taglibs.standard.version>
    ......
</properties>
	
<dependencies>
    ......
    <!-- JSTL標籤庫 -->
    <dependency>
	    <groupId>jstl</groupId>
	    <artifactId>jstl</artifactId>
	    <version>${jstl.jstl.version}</version>
    </dependency>
    <dependency>
        <groupId>taglibs</groupId>
	    <artifactId>standard</artifactId>
        <version>${taglibs.standard.version}</version>
    </dependency>	
    <!-- end -->	
    ...... 												
</dependencies>