Selecting the preferred locale.

Enterprise Java
Internationalize Your Web Site

Gary Bollinger and Bharathi Natarajan
Listing 5. Selecting the preferred locale.

<TITLE> I18N Test Application</TITLE>

<BODY bgcolor="white" >
<FONT color="midnightblue" >

<FORM method="post"
      action="i18n.jsp" >

Choose Locale:
<SELECT name="locale">
  <OPTION value="en" > English, US
  <OPTION value="de" > German, Germany

<INPUT type="submit" value="Enter">
<INPUT type="reset" value="Reset">


Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events