开发者

download spring taglibs

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜