一、如何设置jsp文件的编码默认为UTF-8 Windows–>Preference–>搜索jsp–>点击JSP Files–>修改Encoding为UTF-8 二、如何设置java文件的编码默认为UTF-8