![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a case whereby a webpage will, for some bizarre reason, display in Spanish even though the end-user is insisting that they are not changing their IE language settings; |
|
I am tasked with investigating as to why this has ever occurred as it seems to occur with one particular JSP page that is reading initially from String acceptedLang = (String) request.getHeader("accept-language"); |
#3
| |||
| |||
|
|
Scripsit phillip.s.pow... (AT) gmail (DOT) com: I have a case whereby a webpage will, for some bizarre reason, display in Spanish even though the end-user is insisting that they are not changing their IE language settings; There's little of getting a useful answer unless you reveal the URL. It might not be _sufficient_, of course. And how do you expect the server to send different language versions to different browsers? I am tasked with investigating as to why this has ever occurred as it seems to occur with one particular JSP page that is reading initially from String acceptedLang = (String) request.getHeader("accept-language"); That's a start, but what then? What does the browser actually send, and how will the server-side code proceed then? For example, naively assuming that the header contains just a two-letter language code will lead to confusion. -- Jukka K. Korpela ("Yucca")http://www.cs.tut.fi/~jkorpela/ |
#4
| |||
| |||
|
|
We managed to find the workaround for this by enforcing client and server-side cache flushing and the problem simply went away. |
![]() |
| Thread Tools | |
| Display Modes | |
| |