天天看點

使用jstl标簽時MyEclipse報錯

使用jstl,建立項目然後編寫Jsp頁面後引入jstl标簽庫,在頁面中寫入jstl标簽後運作時會出錯

The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
           

是因為還沒有導入jstl類庫,下載下傳jstl類庫jakarta-taglibs-standard-current.zip(網址http://download.csdn.net/download/simon_steve_sun/2191498 或http://ishare.iask.sina.com.cn/download/explain.php?fileid=35133058&page=0 )解壓後将lib目錄下的jstl.jar和standard.jar複制到項目中的lib檔案夾中,重新開機伺服器即可。

繼續閱讀