RE: struts.i18n.encoding

2009-11-24 Thread carl ballantyne
uot;); -Original Message- From: carl ballantyne [mailto:carl.ballant...@cast-info.es] Sent: Friday, November 20, 2009 4:22 PM To: user@struts.apache.org Subject: Re: struts.i18n.encoding Hi Cristian, Thanks very much for your response. I am using GlassFish 2.1 so will have a look to see if

RE: struts.i18n.encoding

2009-11-24 Thread Raghuveer.V
(strProperty.getBytes("ISO-8859-1"), "UTF-8"); -Original Message- From: carl ballantyne [mailto:carl.ballant...@cast-info.es] Sent: Friday, November 20, 2009 4:22 PM To: user@struts.apache.org Subject: Re: struts.i18n.encoding Hi Cristian, Thanks very much for your re

Re: struts.i18n.encoding

2009-11-23 Thread Saeed Iqbal
I'm glad you found your solution :) On Mon, Nov 23, 2009 at 1:38 PM, carl ballantyne < carl.ballant...@cast-info.es> wrote: > I ended up figuring out the real problem in the end. (Hope this helps > anyone faced with the same situation) > > Firstly I was blaming Struts2 when it was actually innoce

Re: struts.i18n.encoding

2009-11-23 Thread carl ballantyne
I ended up figuring out the real problem in the end. (Hope this helps anyone faced with the same situation) Firstly I was blaming Struts2 when it was actually innocent. When I created the test JSP I did not see that Eclipse had added automatically the tag <%@ page language="java" contentTyp

Re: struts.i18n.encoding

2009-11-20 Thread carl ballantyne
Hi Cristian, Thanks very much for your response. I am using GlassFish 2.1 so will have a look to see if I can implement your type of solution. What I don't get is why we need to apply a filter when already the server is configured to use UTF-8 and we have UTF-8 defined in the meta for the

Re: struts.i18n.encoding

2009-11-20 Thread Cristian Peraferrer
In my application also used the 'struts.i18.encoding=UTF-8' but I had the same problem. But I found a way to get it to work. This way you are only telling struts that has to use UTF-8. But you also need to tell to your Applications Container (Tomcat for example) that you want UTF-8. 1. Set the URI