Can not find the tag library descriptor for "/struts-tags"问题

来源:互联网 发布:手机抢单送外卖软件 编辑:程序博客网 时间:2024/05/17 21:07
解决办法:

1、struts.xml位置没有放正确,将struts.xml 放到src目录下,redeploy

2、没有正确导入struts库,把struts2相关的几个lib放在工程的WEB-INF/lib下面就可以了

3、<%@taglib prefix="s" uri="/struts-tags"%> 有特殊字符 ,删掉重写(^_^)
0 0
原创粉丝点击