You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2013/08/11 03:01:58 UTC

[Bug 55399] Request English but Response Spanish Language (Default Locale)

https://issues.apache.org/bugzilla/show_bug.cgi?id=55399

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
What version of Tomcat?

Can you echo these items back to the client and post the output:

protected void doPost(HttpServletRequest request, HttpServletResponse response)
    throws ServletException, IOException {
//  ...
    ServletWriter out = response.getWriter();
    out.println("request locale=" + request.getLocale());
    out.println("server locale=" + Locale.getDefault());
    response.sendError(HttpServletResponse.SC_BAD_REQUEST, "BAD REQUEST");
}

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org