Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts Form Submit

 
Emma Claims
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • 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
  • 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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic