标签:
在每个jsp页面头部加上:
<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="UTF-8"%>
web.xml加上:
<!-- weblogic部署中文乱码 -->
<mime-mapping>
<extension>html</extension>
<mime-type>text/html;charset=UTF-8</mime-type>
</mime-mapping>
标签:
原文地址:http://www.cnblogs.com/gdpuzxs/p/5572404.html