To send characters from a JSP file to a web
browser, you must use the correct encoding. Always specify the correct
content-type and character set for all of your JSP pages.
If your JSP page returns content to a standard HTML
browser, ensure that the correct character set is defined:
<%@ page contentType="text/html; charset=utf-8" %>
The contentType and charset directives let the
browser know how the returned HTML page is encoded. UTF-8 is the required
character set for the viewer.