I try to build a web site, using servlet&JSP(http://www.mycgiserver.com/~nan111/main.jsp). The decimal pointer of goods price is comma ",", I guess www.mycgiserver.com is hosted in France. The problem is that from visitor in here(Australia, or US), a decimal pointer is period ".", I have got no idea to how to build a dynamic page which is smart enough to decide which decimal pointer should be used, according to where visitors from. Do you have any idea? Thanks
Have you tried this Mock Exam Testing Engine yet?<br /><a href="http://www.mycgiserver.com/~nan111/index.html" target="_blank" rel="nofollow">www.mycgiserver.com/~nan111/index.html</a>
From our international menu. Ingredients: One spoonful of ServletRequest.getLocale(). A generous portion of java.text.NumberFormat.getInstance(Locale). Plenty of ResourceBundle. Take the ServletRequest.getLocale() and stir into the NumberFormat.getInstance(). Then format() the resultant object well. Stir in the contents of the java.util.ResourceBundle according to taste and serve hot. - Peter (purveyor of fine internationalised cuisine)
is it still true that many browsers out there don't send an ACCEPT-LANGUAGES header with their HTTP?
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.