Struts2 JSP找不到标签,怎么办?
Struts2.0初学者,我新一个工程,有一个a.jsp里面有<%@taglib prefix="s" uri="struts-tags"%>, 标签在web.xml
也有定义
<taglib>
<!-- 配置Struts 2标签库的URI -->
<taglib-uri>struts-tags</taglib-uri>
<!-- 指定Struts 2标签库定义文件的位置 -->
<taglib-location>/WebRoot/WEB-INF/struts-tags.tld</taglib-location>
</taglib>
struts-tags.tld也确实存在所定义的路径下面了。但运行a.jsp就报错org.apache.jasper.JasperException: File "/WebRoot/jsp/struts-tags" not found
另:a.jsp是存在WebRoot/jsp/下面的。 同时我也在lib有相关的包了,百度上有人缺common-lang-2.3.jar,但我也加入去了。
是不是我的配置有什么问题???请赐教。。。