NetworkError:503服务不可用

编程入门 行业动态 更新时间:2024-10-24 08:27:33
NetworkError:503服务不可用 - 从浏览器点击网址?(NetworkError: 503 Service Unavailable - on hitting the url from browser?)

我从浏览器http://myMachine/webApp1/customer.do?method=getCustDetail"点击了网址。我在服务器端接到电话但是一旦我从服务器返回,我在mozilla控制台中得到以下错误,即

"NetworkError: 503 Service Unavailable - `http://myMachine/webApp1/customer.do?method=getCustDetail"`

这是我的服务器代码

public String getCustDetail(HttpServletRequest req) { req.getSession().removeAttribute("custId"); return null; }

我没有得到当我能够用上面的url命中服务器为什么我得到NetworkError: 503 Service Unavailable错误

i hit the url from browser http://myMachine/webApp1/customer.do?method=getCustDetail" . I get the call at server side but once i return from server i get the following error in mozilla console i.e

"NetworkError: 503 Service Unavailable - `http://myMachine/webApp1/customer.do?method=getCustDetail"`

Here is my server code

public String getCustDetail(HttpServletRequest req) { req.getSession().removeAttribute("custId"); return null; }

i am not getting when i am able to hit the server with above url why i get the NetworkError: 503 Service Unavailable error

最满意答案

503 Service Unavailable错误是一个HTTP状态代码,表示该网站的服务器现在根本不可用。 大多数情况下这是因为服务器太忙了。

注意:使用Microsoft IIS的站点可以通过在503之后添加一个数字来提供有关503 Service Unavailable错误原因的更多具体信息,如HTTP错误503.2中所示 - 服务不可用,这意味着超出了并发请求限制。

It was happening because of some strut 2 interceptor. At least i know rason know and can work on that.

更多推荐

本文发布于:2023-04-27 23:14:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1329081.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:不可用   NetworkError

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!