Re: Charsets and RequestDispatcher

2002-10-29 Thread Bill Barker
It is explicitly forbidden for an include to change the headers (including content-type). Your servlet needs to do a response.setContentType("text/html; charset=windows-1253") before doing the include. Alternatively, for the servlet below, consider doing a "forward" instead of an "include". "Hol

Charsets and RequestDispatcher

2002-10-29 Thread Holger Brozio
Hello, i have made the following observation: I am using Tomcat 4.1.12 on Windows NT. If i display the jsp page with charset "windows-1253" by invoking the page the direct way, the characters are displayed correct. e.g. http://localhost/jsp/enc_test/ch1253.jsp After that i wrote a small servle