Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

UTF-8 encoding problem

 
Oron Subayi
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic