Re: Configuring Struts to use UTF-8 character encoding

2007-12-06 Thread Mark McLaren
To muddy the waters a little further! If for some reason (e.g. you are writing a JSR168 portlet) you cannot use a servlet filters to force UTF-8 encoding, you can alternatively use a ServletRequestListener. HTH Mark Adam Gordon wrote: So, for posterity, we finally got this working. After se

Re: Configuring Struts to use UTF-8 character encoding

2007-12-05 Thread Adam Gordon
So, for posterity, we finally got this working. After several days of playing around with a sandbox Struts application that worked, but our webapp that didn't, we finally realized that the ORDER of the filters matters (duh...). We put the character encoding filter first in our chain and it fi

Re: Configuring Struts to use UTF-8 character encoding

2007-11-30 Thread Adam Gordon
I didn't know that page existed though it's essentially what I wound up doing. My only concern now is that it affects our entire webapp and while QA was going to do a full regression anyway, I'm wondering what potential problems are now lurking in the deep, dark corners of our web forms... Th

Re: Configuring Struts to use UTF-8 character encoding

2007-11-28 Thread Ted Husted
On Nov 28, 2007 10:53 AM, Adam Gordon <[EMAIL PROTECTED]> wrote: > What about the use of a filter to set the character encoding? Is this > the only way to go for Struts? I'd say so. It might be possible to add something to the ActionServlet, but the solution wouldn't be any less "heavy handed" th

Re: Configuring Struts to use UTF-8 character encoding

2007-11-28 Thread Adam Gordon
Right, hence my last comment in the second paragraph... Incidentally, I saw that web page yesterday and was the one who added the anonymous posting about the URIEncoding attribute not appearing to do anything. What about the use of a filter to set the character encoding? Is this the only way