aspose file tools*
The moose likes Struts and the fly likes Struts Form Submit Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts Form Submit" Watch "Struts Form Submit" New topic
Author

Struts Form Submit

Emma Claims
Greenhorn

Joined: Sep 04, 2007
Posts: 3
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

Joined: Sep 04, 2007
Posts: 3
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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Struts Form Submit