|
This example servlet displays text that requires the modern Greek
character set encoding (ISO-8859-7). The text is nonsense
when the response encoding is Latin-1 (ISO-8859-1).
The ContentSource is a text file with Greek characters.
The character encoding is specified in the Content-Type response
header taken from an initialization parameter (in web.xml).
See
getContentType().
|