Japanese Characters are displayed correctly when I access my JSP for the first time(after starting/restarting Tomcat) but on second and subsequent hits, the Japanese Characters are displayed junk(??????). I am accessing my JSP through a controller servlet which forwards the request to my JSP using requestDispatcheer.forward(request,reposne) method.
Please use the tomcat-user list to debug this.
1. You can't just re-open a bug report without any justification. 2. 99% of i18n issues with Tomcat are down to incorrect configuration and/or coding. Tim's advice is good advice - I strongly suggest you follow it. 3. There is in sufficient information in this bug report to reproduce it. 4. 4.1.0 is *very* old Before re-opening this bug report: - You need to provide a test case - attach the simplest possible WAR that demonstrates the issue - You need to have tested your WAR with 4.1.31 and seen the same error If this bug report is re-opened without a valid test case it will be closed as INVALID without further comment.
The problem has been FIXED !!! It was occuring due to Compression Filter(shipped with Tomcat installation). After removing the compression filter(through commenting out the entries in web.xml),the character encoding settings were effective and the Japanese Characters were displayed properly.