首页 > 代码库 > Can not find the tag library descriptor for "http://www.springframework.org/tags"

Can not find the tag library descriptor for "http://www.springframework.org/tags"

1.Download the Spring dependency jar
2.Place it to the lib folder path is /WEB-INF/lib/spring.jar

3.Then open the web.xml and the sample code is:
<jsp-config> 
 <taglib>
  <taglib-uri>/WEB-INF/spring.tld</taglib-uri>
  <taglib-location>/WEB-INF/spring.tld</taglib-location>
 </taglib> 
</jsp-config>

Then the taglib is indicated where the jar file locates in ur system.
<%@ taglib prefix="spring" uri="/WEB-INF/spring.tld" %>

Can not find the tag library descriptor for "http://www.springframework.org/tags"