https://issues.apache.org/bugzilla/show_bug.cgi?id=55399
Bug ID: 55399 Summary: Request English but Response Spanish Language (Default Locale) Product: Tomcat 7 Version: unspecified Hardware: All OS: All Status: NEW Severity: normal Priority: P2 Component: Catalina Assignee: dev@tomcat.apache.org Reporter: guillermo.gran...@gmail.com == Server: Windows, Language: es_ES == Client: Linux, Language: en_US == Request: POST /xxxxxx HTTP/1.1 Host: x.x.x.x:8080 Accept: */* Accept-Language: en Content-Length: 0 Content-Type: application/x-www-form-urlencoded == Response: HTTP/1.1 400 Petición incorrecta Server: Apache-Coyote/1.1 Content-Type: text/html;charset=ISO-8859-1 Content-Length: 1030 Date: Sat, 10 Aug 2013 17:25:17 GMT Connection: close ...cut... --- HTTP Response "Petición incorrecta" must be in English. Right? I tried to do response.setLocale() workarround in the Servlet but neither works: --- protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { // ... response.setLocale(Locale.ENGLISH); // Locale.US neither // ... response.sendError(HttpServletResponse.SC_BAD_REQUEST, "BAD REQUEST"); } --- HttpServletResponse.setLocale() don't honors? -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org