配置idea
配置Eclipse:emmet,加上jsp 点上对号
General-Editors-File Associations,html,xml,jsp都选用Editor
workspace使用utf-8
File and Editors:jsp使用utf-8
serviers: tomcat
1.配置Eclipse:emmet,加上jsp 点上对号
General-Editors-File Associations,html,xml,jsp都选用Editor
workspace使用utf-8
File and Editors:jsp使用utf-8
serviers: tomcat
2.配置idea
WEB-INF:新建lib,classes
(1)导第三方jar包和编译的类:File
-project Structure-Modules
-paths窗口-改classes路径,(编译输出)
-Dependencries窗口-改lib路径-Jar Directory(导第三方jar包的地方-jars-jar…)
(2)配置database链接:Database侧边栏,点加号source添加数据库,填写database用户信息:用户账号,密码,导入数据库jar包
Database:et1806(数据库名字)
User:root
Password
点击MySQL添加jar包
~编辑数据库:右键properties是编辑数据库
(3)配置tomcat:Run-Configurations
-点加号-Tomcat Server(选local)
-Configure里配置Tomcat Home:tomcat的安装bin目录的上一级目录
-窗口底下:点击fix进行部署
-Application context:/写上本次project的名字