Anyone know if there's a configuration parameter somewhere in Struts 1.2.9 that configures the requests to use UTF-8 character encoding?

Everything I've found on the web says that Tomcat uses ISO-8859-1 as the default character encoding and that the "fix" is to add a filter that simply sets the character encoding on every request and it works, but it seems a bit heavy-handed. Reading the Tomcat configuration pages (for 5.5) talks about setting the URIEncoding attribute on the Connector element but that doesn't appear to have any effect in my sandbox application. It's possible it's needed for when running Tomcat behind Apache.

What about adding the afore mentioned code to our webapp's action servlet or is this basically a glorified filter in the case where a webapp is really only using Struts - which our webapp is?

Thoughts?

--adam

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to