The Workshop is designed to help you review what you have learned and help you further increase your understanding of the material covered in this hour.
How do you tell the JSP to use a different character encoding?
How can you load alternate language versions of various values at runtime?
How can you display times and dates in different formats?
Use the pageEncoding attribute in the page directive.
Store the values in resource bundles and then look up the values from the bundles at runtime. Java will use the bundle for the appropriate language.
The easiest way is to use the JSTL formatting tags. Your next best alternative is to use the objects in the java.text package.
Create a Web page that displays greetings based on the browser's language preference.
Modify your greeting program to load its greetings from resource bundles.