开发者

download spring taglibs

开发者 https://www.devze.com 2023-01-22 02:04 出处:网络
I want to use spring taglibs in UI layer in my projec开发者_如何学运维t. Can anyone let me know where from i need to download the spring taglibs?They\'re shipped as part of the Spring Framework distr

I want to use spring taglibs in UI layer in my projec开发者_如何学运维t. Can anyone let me know where from i need to download the spring taglibs?


They're shipped as part of the Spring Framework distribution, you can find them packed inside the dist/org.springframework.web.servlet JAR file.

You don't usually have to unpack them, though, since the the appserver and IDE should auto-discover them inside the JAR file.


  1. spring-from.tldpath in org.springframework.web.servlet-version.jar meta-inf

  2. org.springframework.web.servlet.version.jar dependent on org.springframework.web-version.jar
    just download both jars and paste them in lib folder.

  3. In jsp add the below line

    <%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
    <form: then it will show all tags or press ctrl with space bar. 
    
0

精彩评论

暂无评论...
验证码 换一张
取 消