运行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