1. 开发环境要设置成UTF-8 Eclipse很方便设置
2. jsp页面使用<%@ page contentType="text/html;charset=UTF-8" %>和
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3. web.xml中配置filter
xml 代码
<filter>
<filter-name>encodingFilter</fil ...
- 2007-08-09 09:27
- 浏览 3905
- 评论(0)