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

有帮助吗?

解决方案 2

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

其他提示

The 503 Service Unavailable error is an HTTP status code that means the web site's server is simply not available right now. Most of the time this is because the server is too busy.

Note: Sites that use Microsoft IIS may provide more specific information about the cause of a 503 Service Unavailable error by suffixing a number after the 503 as in HTTP Error 503.2 - Service Unavailable which means Concurrent request limit exceeded.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top