Have you got this on top of JSPs?

<%@ page contentType="text/html; charset=UTF-8" %>

Patrick Cosmo, 15-12-2010 17:40:
Hi!

When using "s:select", if the list of data returned by my java class contains strings 
that have unicode characters in them, "s:select" fails to generate the entire tag, it 
dies at the unicode character.

For example, this tag:

<s:select key="FIELD.USER_TYPE" name="userType" list="userTypeList" required="true" 
cssClass="selectControl"/>

When "userTypeList" has as its first item the string "Actualización_GZ" the 
resulting page source is:

<select name="userType" id="CreateUser_userType" class="selectControl">
     <option value="Actualizaci

As you can see, the output html suddenly ends at the character "ó"

Any ideas how to fix this?

Thanks!
Patrick Cosmo
Incognito Software Inc.
Senior Software Design Engineer
T: +1(604)678-2855
F: +1(604)688-4339
E: pco...@incognito.com<mailto:pco...@incognito.com>
www.incognito.com<http://www.incognito.com>





---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to