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.
spring-from.tld
path inorg.springframework.web.servlet-version.jar
meta-inf
org.springframework.web.servlet.version.jar
dependent onorg.springframework.web-version.jar
just download both jars and paste them in lib folder.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.
精彩评论