问题:
在a.jsp中使用<%@ include file="/includes/top.jsp"%>方法引入top.jsp时,top.jsp的内容显示中文乱码
解决方法:
在top.jsp的第一行中加入<%@ page pageEncoding="utf-8"%>即可
问题:
在a.jsp中使用<%@ include file="/includes/top.jsp"%>方法引入top.jsp时,top.jsp的内容显示中文乱码
解决方法:
在top.jsp的第一行中加入<%@ page pageEncoding="utf-8"%>即可