`
liujunhui1988
  • 浏览: 10037 次
社区版块
存档分类
最新评论

tomcat HTTP Status 404 - description The requested resource is not available

 
阅读更多

当在地址栏输入http://localhost:8888/webDemo/a.jsp回车后,出现如标题所示的错误:

原因:这里我犯了一个很弱智的错误,我隐藏了文件的扩展名,将文件存为a.jsp,实际此文件的全名是a.jsp.txt.所以找不到文件,即路径错误。

解决方法:任打开一个文件夹,工具,文件夹选项,将隐藏文件扩展名前的对钩去掉,即可,存为a.jsp。

分享到:
评论

相关推荐

    HTTP_Status_404(The_requested_resource_is_not_available)的几种解决方案_补充

    HTTP Status 404 解决方案总结 HTTP Status 404 是一个常见的错误代码,它表示请求的资源不可用。在本文中,我们将讨论七种常见的解决方案,以帮助开发者快速解决该问题。 1. 未部署 Web 应用 如果您遇到了 HTTP ...

    IIS HTTP 错误 404.17 – Not Found 解决方法

    错误提示如下图: 出现这种情况的原因通常是因为先安装了Framework,后安装的IIS; 运行cmd,输入: 代码如下:C:\Windows\Microsoft.NET\Framework\V4.0.30319\aspnet...Win7中IIS出现“HTTP 错误 404.17 – Not Foun

    ssh5的源文件

    description The requested resource (Servlet action is not available) is not available. -------------------------------------------------------------------------------- Apache Tomcat/5.5.25的问题

    IIS访问ASP页面时报错The requested resource is in use.的解决办法

    ### IIS访问ASP页面时报错“The requested resource is in use”的解决办法 在处理IIS(Internet Information Services)服务器上的ASP(Active Server Pages)页面时,可能会遇到一个常见的错误:“The requested ...

    Amazon C# 卖家/S-API接口Demo,官方Demo一堆错误,千万不要被误导

    Amazon 卖家接口Demo,官方Demo一堆错误,千万不要被误导。 解决: 1、Access to requested resource is denied 2、The security token included in the request is invalid 有疑问可提问

    Nginx解决转发地址时跨域的问题

    No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'null' is therefore not allowed access. 这就是跨域问题。解决方案有不少,比较好的是服务器端配置CORS,但要求服务器端...

    2013年12月7日最新SSH整合Jar包

    SSH整合是指Spring、Struts和Hibernate这三大开源框架的集成应用。这三大框架分别是Spring作为应用的IoC(Inversion of Control,控制反转)和AOP(Aspect-Oriented Programming,面向切面编程)容器,Struts作为MVC...

    静态文件访问不到报No Access-Control-Allow-Origin处理办法

    当一个网页尝试从不同的源(协议、域名或端口)请求资源时,如果目标服务器没有允许这个源的权限,浏览器会阻止该请求,从而出现"No 'Access-Control-Allow-Origin' header is present on the requested resource"的...

    dashboard .zip

    k8s的16版本安装的时候,dashboard 出现k8s dashboard the server could not find the requested resource的问题。重新换一个2.0版本的dashboard即可。

    tomcat跨域请求配置

    <param-value>Accept, Origin, X-Requested-With, Content-Type, Last-Modified</param-value> </init-param> <init-param> <param-name>cors.exposedHeaders</param-name> <param-value>Set-Cookie</param-...

    servlet2.4doc

    Causes the next filter in the chain to be invoked, or if the calling filter is the last filter in the chain, causes the resource at the end of the chain to be invoked. doFilter(ServletRequest, ...

    error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large

    git首次提交代码到远程仓库提示413错误,错误信息如下 git push --set-upstream origin master Enumerating objects: 153, done. ... HTTP 413 curl 22 The requested URL returned error: 413 Req

    tomcat跨域访问

    <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers</param-value> </init-param> <init-param> <param-name>cors.exposed.headers...

    Tomcat---servlet的重要设置.doc

    如果`address`属性设置为不正确的IP,Tomcat启动时可能会报错,如"cannot assign requested address: JVM_BIND:8080"。默认情况下,`address`属性未设定,Tomcat会监听所有IP地址的指定端口。 2. **Coyote ...

    tomcat服务器跨域需要的CorsFilter jar包文件

    <param-value>Content-Type,X-Requested-With,accept,Origin,Access-Control-Request-Method,Access-Control-Request-Headers</param-value> </init-param> ``` 4. **重启Tomcat**:完成上述配置后,记得重启...

    解决方案 ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’

    标题 "解决方案 ‘Access-Control-Allow-Origin’ header in the response must not be the wildcard ‘*’" 提到的是一个在Web开发中常见的跨域问题。`Access-Control-Allow-Origin` 是一个用于控制资源跨域访问的...

    Docker push报错 :denied: requested access to the resource is denied

    在排除没有登录和网络的原因:我还是报的如下错误 原因镜像的名字没有按照...The push refers to repository [docker.io/langxuhao/my_redis] cd1b418d5a74: Pushed ddf2402ca3ea: Pushed 00352274272b: Pushed a0e3c

    unity 获取磁盘空间

    备注: System.IO.DriveInfo[] drives = System.IO.DriveInfo.GetDrives(); 在unity下使用会报错 NotImplementedException: The requested feature is not implemented. 本方法在unity下可以使用/

    Tomcat解决跨域的两个jar包java-property-utils-1.9.jar和cors-filter-1.7.jar

    allowed.headers=Content-Type, Authorization, X-Requested-With allow.credentials=true exposed.headers=X-Total-Count, X-Custom-Header ``` 这里,`allowed.origins`指定了允许跨域的源,`allowed.methods...

    p7331323_10204_AIX5L

    There is no workaround available. However, if the instance fails to start, a reboot of the server supporting the instance will usually allow startup to succeed. Patches At the time of writing, ...

Global site tag (gtag.js) - Google Analytics