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

时间:2014-11-27 12:18:22   收藏:0   阅读:1170

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" %>

评论(0)
© 2014 mamicode.com 版权所有 京ICP备13008772号-2  联系我们:gaon5@hotmail.com
迷上了代码!