我按照步驟來的為什么報錯呢? /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.
2016-04-02
我剛才試了一下,工程中要有structs.xml和web.xml文件才行 ,沒有的話是會出錯的
2016-04-02
首先,你要確定??包含struts-tags的jar包加入classpath??
其次??<%@?taglib?prefix="s"?uri="/struts-tags"?%>?這個標(biāo)簽,手動寫一下,prifix=“”里面的內(nèi)容,用alt+/?添加(看看eclipse能不能有提示)。
?第三,以上還是不行的話,換一個tomcat試試。