tomcat将静态资源写入到浏览器乱码问题
1.先检查idea配置:百度 idea配置编码格式
2.检查tomcat配置:百度tomcat中文乱码解决
3.检查web.xml中的编码格式: 百度在web.xml中配置字符编码过滤
4.如果是jsp,加jstl标签
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
5.如果是html,加meta属性
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
<meta charset="utf-8">
https://blog.csdn.net/m0_38048304/article/details/100151873
https://www.cnblogs.com/rosesmall/p/5511175.html
https://blog.csdn.net/w05980598/article/details/80118721