eclipse設(shè)置工作空間為UTF-8(適應(yīng)中文,避免亂碼)
windows---preference---general---workspace,修改textfile encoding

eclipse新建jsp文件編碼為UTF-8(適應(yīng)中文,避免亂碼)
windows---preference---web---JSP file,修改encoding

eclipse導(dǎo)入tomcat
- 官網(wǎng)下載tomcat壓縮包
官網(wǎng):http://tomcat.apache.org/
tomcat8:鏈接:http://pan.baidu.com/s/1kVHAEoR 密碼:kyt8
tomcat7:鏈接:http://pan.baidu.com/s/1pLeSR1p 密碼:2u73 -
打開eclipse導(dǎo)航window--preference--server--runtime environments
-
點(diǎn)擊add,選擇下載tomcat版本
-
點(diǎn)擊next,選擇本地tomcat路徑,點(diǎn)擊finish
配置完成


