问题:IDEA 开打 jsp 页面乱码问题解决
解决:
1 先把 Idea 配置:File–>Settings–>File Encodings–>Project Encoding 设置为 UTF-8
2 jsp 文件中增加:
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>
问题:IDEA 开打 jsp 页面乱码问题解决
解决:
1 先把 Idea 配置:File–>Settings–>File Encodings–>Project Encoding 设置为 UTF-8
2 jsp 文件中增加:
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %>