Eclipse中使用jstl標簽
Eclipse中直接使用jstl標簽,會出現(xiàn)如下錯誤
而在 Myeclipse中新建web工程,新建jsp頁面可以直接使用jstl標簽,因為在新建工程時Myeclipse自動導(dǎo)入了使用jstl所需的jar包。在Eclipse中使用jstl,需要:
1、導(dǎo)入jstl.jar、standard.jar 2個jar包;
2、在WEB-INF下拷入c.tld文件;
3、web.xml加上如下配置
[html]?view plain?copy
<jsp-config>??
??????<taglib>??
??????????<taglib-uri>http://java.sun.com/jstl/core</taglib-uri>??
??????????<taglib-location>/WEB-INF/c.tld</taglib-location>??
??????</taglib>??
??</jsp-config>??
經(jīng)過這幾步就可以正常使用jstl標簽了
粘貼自http://blog.csdn.net/czxt0605/article/details/38080495
2016-07-06
明顯提示找不到啊,所以加jar包就好了啊