• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Unicode with Struts ?????

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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!
 
I have a knack for fixing things like this ... um ... sorry ... here is a consilitory tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic