運行jsp時,報錯404


The origin server did not find a current reprsentation for the target resource or is not willing to disclose that one exists.

解決: 
1. web.xml文件位置是否放錯,應該放在WebContent/WEB-INF文件夾中 
2. web.xml文件中是否有拼寫錯誤(特別是大小寫) 
3. 應該導入的jar包是否正確導入,可存在WebContent/lib文件夾中


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM