3条语句解决post乱码
输入页加:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
提交页加:
<% request.setCharacterEncoding("utf-8"); %>
3条语句解决post乱码
输入页加:
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
提交页加:
<% request.setCharacterEncoding("utf-8"); %>