在eclipse默认新建的JSP文件中的字符编码是ISO-8859-1,怎么修改为utf-8呢? 方法如下: 进入 >window >preference 找到 >Web >JSP Files,如下图所示 发现encoding方式 更改为UTF-8 Apply and Close , Done!