If you are directly accessing the ServletRequest, you will have to make
the calls.
Kenneth
Hazem Saleh wrote:
Hi Guy,
AFAIK, yes it should be!
On Wed, Jun 18, 2008 at 2:21 PM, Guy Bashan <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi,
I have configured my application to work with resource bundles and
support internationalization.
I added on the header on each of my jsp page the following line:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
Still, the values posted to my beans when using language other
than Hebrew are corrupted.
Only after adding the following lines in my main filter it seem to
be working fine:
request.setCharacterEncoding("UTF-8");
response.setCharacterEncoding("UTF-8");
response.setContentType("text/html; charset=UTF-8");
Am I missing something, or should those lines be executed for each
request?
Thanks,
Guy.
--
Hazem Ahmed Saleh Ahmed
http://www.jroller.com/page/HazemBlog