原创 Can not find the tag library descriptor for "/struts-tags"問題

解決辦法:1、struts.xml位置沒有放正確,將struts.xml 放到src目錄下,redeploy2、沒有正確導入struts庫,把struts2相關的幾個lib放在工程的WEB-INF/lib下面就可以了3、<%@taglib

原创 The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from

原因:項目中缺少servlet-api.jar文件。解決辦法:將D:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib下的servlet-api.jar拷貝到項目中

原创 The type javax.servlet.http.HttpServletRequest cannot be resolved. It is indirectly referenced from

原因:項目中缺少servlet-api.jar文件。解決辦法:將D:/Program Files/Apache Software Foundation/Tomcat 5.5/common/lib下的servlet-api.jar拷貝到項目中

原创 Can not find the tag library descriptor for "/struts-tags"問題

解決辦法:1、struts.xml位置沒有放正確,將struts.xml 放到src目錄下,redeploy2、沒有正確導入struts庫,把struts2相關的幾個lib放在工程的WEB-INF/lib下面就可以了3、<%@taglib