This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
i use sql queries in my struts application.
since the information is in Hebrew i set the following settings:
1. db url: useUnicode=yes&characterEncoding=utf8
2. tomact catalina.sh: JAVA_OPTS="$JAVA_OPTS "-Dfile.encoding=utf-8"
3. in sql: i set the charcter encoding to UTF-8
4. server.xml on tomcat: useBodyEncodingForURI="true" URIEncoding="UTF-8"
but still, when i run it, i see in the log that it calls the DB with ??? values.
how can i solve the problem?