查看是不是你使用了中文.但是没有指定charset="utf-8" 而是默认的把第一句改为<%@ page language="java" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>再试试