Selecting the preferred locale.

Enterprise Java
Internationalize Your Web Site

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


<HTML>
<HEAD>
<TITLE> I18N Test Application</TITLE>
</HEAD>

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

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

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

<br><br>
<INPUT type="submit" value="Enter">
<INPUT type="reset" value="Reset">
</form>
</BODY>
</HTML>

Featured

Most   Popular
Upcoming Events

AppTrends

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.