I always see "Content-Language en-US" on the HTTP header response of Tomcat
6. 

I wrote code below to have a different locale and header on the response. 
However, this does not change the response header.

response.setLocale(userSession.getLocale());
((HttpServletResponse) response).setHeader("Content-Language",
userSession.getLocale().getLanguage());

Rubens.
-- 
View this message in context: 
http://www.nabble.com/Content-Language-en-US-tp21764367p21764367.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to