I can't understand while send ajax request from phonegap spring return 403 error without handle request with tomcat. If use jetty embeded work cool.

my controller 

```
@Controller
public class TestController {
    @RequestMapping(value = "/", method = RequestMethod.POST)
    public String test() {
        return "Hello";
    }
}

```

How i can full log requests in tomcat or how fix it from spring. In simple rest clients work cool.

```
   @RequestMapping(value = "/login", method = RequestMethod.GET)
public @ResponseBody Object loginUser1(HttpServletRequest req , HttpServletResponse httpServletResponse) {
    Enumeration<String> headerNames = req.getHeaderNames();

    while (headerNames.hasMoreElements()) {

        String headerName = headerNames.nextElement();
        System.out.println(headerName);

        Enumeration<String> headers = req.getHeaders(headerName);
        while (headers.hasMoreElements()) {
            String headerValue = headers.nextElement();
            System.out.println(headerValue);
        }

    }
    return "Hello";
}

@RequestMapping(value = "/login", method = RequestMethod.POST)
public @ResponseBody Object loginUser2(HttpServletRequest req , HttpServletResponse httpServletResponse) {
    Enumeration<String> headerNames = req.getHeaderNames();

    while (headerNames.hasMoreElements()) {

        String headerName = headerNames.nextElement();
        System.out.println(headerName);

        Enumeration<String> headers = req.getHeaders(headerName);
        while (headers.hasMoreElements()) {
            String headerValue = headers.nextElement();
            System.out.println(headerValue);
        }

    }
    return "Hello";
}

```

Get return 

> 
> host
>  10.0.0.42:8080 connection keep-alive accept
>  */*
>  x-requested-with com.citronium.planReview user-agent Mozilla/5.0
>  (Linux; U; Android 4.2.1; en-us; e2001v21\_v89\_gq2008s Build/JOP40D)
>  AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile
>  Safari/534.30 accept-encoding gzip,deflate accept-language en-US
>  accept-charset utf-8, utf-16, \*;q=0.7
> 
> 
>