The requested resource (/proj3/MyJsp.jsp) is not available/HTTP Status 404错误的其中一种
来源:互联网 发布:世界黑客编程大赛题目 编辑:程序博客网 时间:2024/06/05 01:19
网上回答一波一波,坑爹也是一波一波,自己尝试了好多方法,大家都知道路径有错但是都不知道自己路径错在哪里,所以那些回答等于废话一堆,无意用里面写好index.jsp测试发现了这个问题。少说废话直接上图测试看结果。
请看错误路径:
可以发现写好的index.jsp和我们创建的.jsp分别不在同一目录下,我们都无意建在了lib目录下面,所以导致了错误,看似简单反正我是被折磨了几个小时的。看这种错误的运行截图(同样web.xml文件如果放到了lib下面也会有同样的情况,于是警告给为web.xml文件千万不要复制粘贴免得路径放错,血的教训)
正确路径看下图
正确运行截图看下图。
3.HTTP Status 404错误的其中一种检查是否加入了jdk
0 0
- The requested resource (/proj3/MyJsp.jsp) is not available/HTTP Status 404错误的其中一种
- HTTP Status 404(The requested resource is not available)
- HTTP Status 404(The requested resource is not available)
- HTTP Status 404 - The requested resource is not available.
- form表单提交到servlet显示HTTP Status 404错误The requested resource is not available.
- HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404(The requested resource is not available)的几种处理措施
- 1.HTTP Status 404(The requested resource is not available)的几种解决方案
- HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404(The requested resource is not available)的几种解决方法
- 分享HTTP Status 404(The requested resource is not available)的几种解决方案
- HTTP Status 404(The requested resource is not available)的几种解决方法
- HTTP Status 404(The requested resource is not available)的几种解决方案
- HTTP Status 404(The requested resource is not available)的几种解决方案(转)
- HTTP Status 404 /arcgis/rest: The requested resource (/arcgis/rest/) is not available
- Tomcat 设置默认访问方式 HTTP Status 404(The requested resource is not available)解决方案
- struts2项目中:HTTP Status 404 - The requested resource is not available.
- HTTP Status 404 - The requested resource (/Test/loginSerlet) is not available.
- MacBook中获取高德地图的发布版和开发版的SHA1的值
- 高效使用Bitmaps(一) 大Bitmap的加载
- java网络编程____UDP协议原理
- PHP中关于邮件E-mail的发送案例
- 高效使用Bitmaps(二) 后台加载Bitmap
- The requested resource (/proj3/MyJsp.jsp) is not available/HTTP Status 404错误的其中一种
- 数组(时间格式)进行排序
- ACM程序设计 -B 2题 (字典查找)
- 上传文件失败问题 error为7
- 线性表链式存储_api函数实现
- 六大设计原则(下)
- Android中style内使用自定义属性
- 安装oracle 11g时出现启动服务出现错误,找不到OracleMTSRecoveryService
- MySQL索引及查询优化