我从浏览器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.
更多推荐
发布评论