新建的jsp文件比新建的html文件多了一行内容<%@ page contentType="text/html; charset=utf-8" %>,这样不会显示乱码
jsp文件
原文:https://www.cnblogs.com/yanguobin/p/12013734.html