Selecting the preferred locale.
- By Gary Bollinger and Bharathi Natarajan
- October 16, 2000
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>