有一个HTML页,有一个表单,一个input框,一个submit按钮。提交这个网页后,打开一个JSP页,显示刚输入的值。但就这么点事,就有问题了。  
下面是代码:  
<html>  
<head>  
   <meta  http-equiv="Content-Type"  content="text/html;  charset=utf-8">  
   <title>test3.10.htm</title>  
</head>  
<body>  
<form  method="POST"  action="display.jsp">  
   姓名<input  type="text"  name="username"  size="20"></p>  
   <p  align="center"><input  type="submit"  value="登录"  name="login">  
</form>  
</body>  
</html>  
 
 
JSP文件是这样的:
<%@ page contentType="text/html; charset=UTF-8" %>
<html>  
<head>  
   <meta  http-equiv="Content-Type"  content="text/html;  charset=utf-8">  
   <title>display.jsp</title>  
</head>  
<body>  
<%  
   String  user;  
   user=request.getParameter("username");  
   out.println("username:    "+user+"<br>");  
%>  
</body>  
</html>  
 
在HTML页,我右键看编码,UTF8被选中,这时输入进框中的中文可以正常显示,但是到了DISPLAY.JSP的输出页,就出来了乱码,这时UTF8也还是被选中的状态,请问这是哪写错了呢?谢谢!