添加JSTL 1.2 依賴庫


添加JSTL 1.2 依賴庫

JSTL 是一項很有歷史的技術,而且版本自Java 5以來長期停留在1.2。但在做簡單演示的頁面時jstl依然有用,當前我們依然能看到這項技術(在博客、文檔的demo里很常見),。期間gourpIdjstl變更為javax.servletartifactId都為 jstl,實質的jar包應該是同一個。

如下所示為JSTL 1.2 的Maven 依賴:
這里使用的JSTL實現庫為 Apache Standard Taglib

<!-- JSTL API -->
    <dependency>
      <groupId>javax.servlet</groupId>
      <artifactId>jstl</artifactId>
      <version>1.2</version>
    </dependency>
    <!-- Apache hosts the Apache Standard Taglib, an implementation of the JSP Standard Tag Library (JSTL) specification. -->
    <dependency>
      <groupId>org.apache.taglibs</groupId>
      <artifactId>taglibs-standard-impl</artifactId>
      <version>1.2.5</version>
    </dependency>


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM