DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ· RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=39225>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ· INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=39225 [EMAIL PROTECTED] changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|major |enhancement ------- Additional Comments From [EMAIL PROTECTED] 2006-04-06 15:53 ------- The servlet spec is still indeterminate about how the servlet container is supposed to recognize the character encoding of post requests. Thus, I don't consider this a "major" Struts bug and have changed the severity to enhancement instead. The generally accepted way to control this is to install a Servlet Filter. It's critical to set this value before any values are read from the request, so a filter is the best way to ensure that it happens "as early as possible." I'm leaving this ticket open instead of marking "wontfix" because a while back I wondered why we don't just put one of these in the Struts distro. Sure, it's not really core to Struts, but why make everyone write their own? Any opinions on that? (Now that I think about it, I suppose it's because Struts 1.2 has a minimum Servlet spec of 2.2, but for Struts 1.3 where we've moved up to Servlet 2.3, there's no technical reason we couldn't include this.) in the meantime, this use case (setting the request encoding) is one of the standard examples of how to write Filters, so some searching should readily turn up an example you could use. If you're still stuck on Servlet 2.2 (is anyone?) then the best solution would probably be to extend RequestProcessor or use struts-chain with a custom command that does about the same. -- Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]