为了账号安全,请及时绑定邮箱和手机立即绑定

我按照步骤来的为什么报错呢? /users/Users_login.jsp (line: 2, column: 40) File "/struts-tags" not found description The server encountered an internal error that prevented it from fulfilling this request.

/users/Users_login.jsp (line: 2, column: 40) File "/struts-tags" not found

description The server encountered an internal error that prevented it from fulfilling this request.


正在回答

2 回答

我刚才试了一下,工程中要有structs.xml和web.xml文件才行 ,没有的话是会出错的


0 回复 有任何疑惑可以回复我~

首先,你要确定  包含struts-tags的jar包加入classpath  
其次  <%@ taglib prefix="s" uri="/struts-tags" %> 这个标签,手动写一下,prifix=“”里面的内容,用alt+/ 添加(看看eclipse能不能有提示)。
 第三,以上还是不行的话,换一个tomcat试试。

0 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

我按照步骤来的为什么报错呢? /users/Users_login.jsp (line: 2, column: 40) File "/struts-tags" not found description The server encountered an internal error that prevented it from fulfilling this request.

我要回答 关注问题
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号