Meaningless Drivel is fun!*
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "UTF-8 encoding problem" Watch "UTF-8 encoding problem" New topic
Author

UTF-8 encoding problem

Oron Subayi
Greenhorn

Joined: Aug 22, 2011
Posts: 9
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
 
 
subject: UTF-8 encoding problem
 
Similar Threads
Filter to check if user is logged in
Stream and writer
JSF Filter prevent direct access certain page
if a user enter a website without entering the authentication page how can i redirect
Problem with session timeout