<c:import 中文乱码
先检查,页面头部是否加入:
<%@ page language="java" contentType="text/html; charset=utf-8"%>
然后检查,c:import中是否加入了编码格式支持:
<c:import url="http://localhost:80/templates/a.jsp" charEncoding="UTF-8" />
转帖来自 http://cai555.iteye.com/blog/265196