Tomcat6.0.10 Character Code question

2007-05-08 Thread red phoenix
I have set my all files with UTF-8 format,so I set URIEncoding parameter in server.xml,like follows: Connector port=8080 protocol=HTTP/1.1 maxThreads=150 connectionTimeout=2 redirectPort=8443 URIEncoding=UTF-8/ Then I write a JSP file like follows: %@ page

Re: Tomcat6.0.10 Character Code question

2007-05-08 Thread Mark Thomas
red phoenix wrote: Anybody could tell me how to do it? Would you give me some code? The following index.jsp works for me: %@ page contentType=text/html; charset=UTF-8 % !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN html head titleCharacter encoding test page/title /head