jQuery in Action, 3rd edition
The moose likes Tomcat and the fly likes UTF-8 encoding problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "UTF-8 encoding problem" Watch "UTF-8 encoding problem" New topic

UTF-8 encoding problem

Oron Subayi

Joined: Aug 22, 2011
Posts: 9
I have tomcat server + spring + struts2
When I send a URL with query string that contains Hebrew characters, the server gets "���" in the struts action setter.
I don't have a form..I write the URL by myself on Firefox (the request is going to be send through android)

This is my connector tag in server.xml

This is the charset filter:

I have "district" parameter in query string, and as I said, the setDistrict method gets "���" instead of hebrew
I agree. Here's the link: http://aspose.com/file-tools
subject: UTF-8 encoding problem
It's not a secret anymore!