-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Tom,
On 4/9/2011 12:53 PM, Tomislav Brkljačić wrote: > I gave the "add the filter and bunch of Spring jars" method a try and it > turned out to be a success! You don't need a "bunch of Spring jars"... just use the one that comes with Tomcat and be done with it: there's no reason to add unnecessary libraries to your webapp. > Fantastic! > > Filter code : > <filter> > <filter-name>characterEncodingFilter</filter-name> > <filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class> > <init-param> > <param-name>forceEncoding</param-name> > <param-value>true</param-value> I don't think you want this: you only want to set the encoding when the client has provided none. If the client provides an encoding and you override it, you are probably making a bit mistake. > Andre & Cris, a beer in your name tonight. You should send me a Belgian beer and Andre an American one. :) (PS there actually are decent American beers) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk2jFTsACgkQ9CaO5/Lv0PC6egCeIBhQOJecHh1nNt5pwTRgVJ7b GRoAoIbgwbo4w+4/JCxYGz2Dl7fam888 =ojE2 -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org