Java Mailing List Archive

Home » Home (12/2007) » Struts 2 »

Struts2, tiles2 and character encoding problem





I use struts2 and tiles2 in my web application. When my tiles result
contains data with åäö and I write the data using el, the characters are not
displayed correctly. If I write the data with a struts tag, for example
<s:property> the characters are displayed correctly.

If I do not to use a tiles result, just a simple jsp, the characters are
displayed correctly when I use el.

I have specified struts.i18n.encoding=UTF-8.

I use a CharacterEncodingFilter to set encoding to UTF-8.

I specify <meta http-equiv="content-type" content="text/html;
charset=UTF-8"/> on the page.

Any ideas?


Sent from the Struts - User mailing list archive at

To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 - Jax Systems, LLC, U.S.A.