I have a JSP Page which uses the following directive:
<%@page contentType="text/html; charset=iso-8859-1" pageEncoding="iso-8859-1"%>
Hence, forms within the page are sent using ISO-8859-1 encoding and the beans receive (in the setXXX() methods) Strings encoded according to this format.
I want to "translate" the JSP into JSF 2, which uses UTF-8 as default. How can I force JSF to use ISO-8859-1 and hence simulate the page directive?
I use Mojarra + richfaces on jboss 6.
Thank you!