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" %> Character encoding test page Data posted to this form was: <% request.setCharacterEncod

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: Then I write a JSP file like follows: <%@ page contentType="text/html;charset=UTF-8" language="java" %> <%@ taglib prefix="s" uri="/struts-tags" %> In test.do action,I get the value of Name f