Hi all,
I use
Struts to build my project and
I use windows-1258 or UTF-8 character set on my page. But after I submit a form, all my input seem to be encoded in non Unicode
Example:
<H1> With the Bean Write tag </H1>
Username <bean:write name="loginForm" property="usrname"/> <BR>
Password <bean:write name="loginForm" property="password"/>
<HR>
<H1> With the standard Http request object </H1>
Name==><%= request.getParameter("name")%><BR>
password==><%= request.getParameter("password")%><BR>
With the bean:write tag the name is printed out as ???,
With the standard request object display characters correctly.
And I know that Struts uses non Unicode encoder.
I this is the case, how can I use Unicode in my project?
Help me please!