chinese url parameter value is wrong

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

chinese url parameter value is wrong

sam1920
This post has NOT been accepted by the mailing list yet.
see below:

<stripes:link class="Button" beanclass="com.homeportal.action.GoodsActionBean" event="gotoedit">
<stripes:param name="code" value="${item.code}" />
<stripes:param name="gg" value="${item.gg}" />Edit
</stripes:link>

I pass some chinese chars in param "gg", but in Action Bean "GoodsActionBean" I cannot get the correct
chinese, it shows like "?????".

And I already add configuration in web.xml; like:

<init-param>
        <param-name>LocalePicker.Locales</param-name>
        <param-value>en_US:UTF-8,zh_CN:UTF-8</param-value>
</init-param>