This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori 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?