Archive for the ‘Java’ Category

Struts, UTF-8 and form submissions

by
ian.purton

Struts will convert data that is received from form submissions to a default encoding because most browsers don’t set the content type.
To stop struts mangling the data you need to set the content type with a filter before it gets as far as the struts layer.
Use the filter below

You’ll need to add these settings to [...]

Posted in Java | Comments