Hi, >From what I see Locales need to be set in Ajp13 using decoding stuff present (parseAcceptLanguage) in HttpProcessor or in CoyoteRequest.java (parseLocalesHeaders).
What's the preferred way ? - Henri Gomez ___[_]____ EMAIL : [EMAIL PROTECTED] (. .) PGP KEY : 697ECEDD ...oOOo..(_)..oOOo... PGP Fingerprint : 9DF8 1EA8 ED53 2F39 DC9B 904A 364F 80E6 >-----Original Message----- >From: GOMEZ Henri >Sent: Tuesday, June 18, 2002 6:39 PM >To: Tomcat Developers List >Subject: RE: [Bug 6832] - Locale of the browser is ignored by the AJP13 >connector > > >>I find it unusual that a European would not fix such a crucial >>piece of code >>for localization of applications. > >Thanks god there is many europeans commiters on tomcat to >try to fix these problems. > >>This defect was reported in March > >And will be corrected in June by a French commiter. >BTW, ajp13 protocol forward all language, so the patch >is needed in java side. > >>It was confirmed by a second source in March. > >Yep > >>I reported it to you separately in April. > >ReYep > >>I have yet again, confirmed it's existence. To recap my >>original message >>sent directly to you in April: > >Ok > >>I am running into a problem with accept-language/getLocales() >>when I use >>mod_jk with the ajp13 connector. >> >>System Configuration: >> >>RedHat Linux 7.2 >>Apache 1.3.22 >>Tomcat 4.0.4-B1 >>mod_jk.so 4.0.4-B2 version 1.2.0 > >It works well with mod_jk 1.2.0 and tomcat 3.3.1 > > Request Information >JSP Request Method: GET >Request URI: /examples/jsp/snp/snoop.jsp >Request Protocol: HTTP/1.1 >Servlet path: /jsp/snp/snoop.jsp >Path info: null >Path translated: null >Query string: null >Content length: 0 >Content type: null >Server name: hgo1.slib.com >Server port: 80 >Remote user: null >Remote address: 172.31.1.85 >Remote host: pc0082.slib.com >Authorization scheme: null >Locale: fr_FR >Locales: fr_FR en_US en >Secure: false >Scheme: http >cipher_suite: null >key_size: null >ssl_session: null >The browser you are using is Mozilla/5.0 (Windows; U; Windows >NT 5.0; en-US; rv:1.0.0) Gecko/20020530 > >-- >To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>