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