• 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

Struts Form Submit

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello Ranchers,

I am very new to struts.

In my application i have a form that has a textfield and the input from the textfield is set to a String object in my form class.

It all works fine, except that when i submit a � sign the � sign is changed to �� which is very strange.

It doesnt seem to do this with any other character just a � character that then changes to ��.

Does anyone know why this happens?

Happy days peeps,

Em
 
Emma Claims
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

This is now o.k.

I found out the problem was that the encoding was UTF-8 on the jsp pages.

When i removed this it worked.

Thanks and take care
reply
    Bookmark Topic Watch Topic
  • New Topic