找到某个html文件在页面中导入:
<%@page pageEncoding="utf-8" contentType="text/html;charset=utf-8"%>
然后把html文件后缀改成.jsp 就可以了