tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: Tomcat6.0.10 Character Code question
Date Tue, 08 May 2007 23:15:25 GMT
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">
     <title>Character encoding test page</title>
     <p>Data posted to this form was:

     <form method="post" action="index.jsp">
       <input type="text" name="mydata">
       <input type="submit" value="Submit" />
       <input type="reset" value="Reset" />


To start a new topic, e-mail:
To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message