1、response.getWriter().write(): 用于 输出 字符串 。 2、response.getWriter().print(): 用于 输出 非字符串类型 的数据,底层 就是 自动转换成 字符串 输出 。