JavaWeb-based JavaUsing Servlets and JSP to Give Users Control Over Their Presentation Locale

Using Servlets and JSP to Give Users Control Over Their Presentation Locale

Developer.com content and product recommendations are editorially independent. We may make money when you click on links to our partners. Learn More.

If the “Web 2.0” presentation layer of your Java Web application has an international audience, you can’t rely on the user’s browser to intuitively display the appropriate language. Locale-sensitive methods in JavaScript perform formatting based on the default locale of the browser. This value may not necessarily match the locale of the user’s PC because the browser locale is tied to the browser’s build version.

That’s why most international websites offer visitors the option of selecting their preferred language and/or country, tailoring their experiences to their particular tastes. In his WebReference.com article, Rob Gravelle explains how to implement multilingual support to your Web pages and client-side scripts using Java Servlets and JSPs.

Read the full story at WebReference:
Add Multilingual Support to Your Java Web Pages

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends & analysis

Latest Posts

Related Stories