首先在html页面最上面加上如下这行:<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>保存后,再将.html页面后缀改为.jsp