1、
src :放代码
WEB-INF :网站的INF信息
----Web.xml配置基本网站信息
----Index.jsp :网站首页
2、 IDEA配置Tomcat9
安装tomcat9:
可参考:
http://www.xinmaotao.net/cjwt/3131.html
https://blog.csdn.net/weixin_43356538/article/details/113354202
添加tomcat:
点进去是bin的那个文件夹:
配置项目
1、new两个文件夹——classes和lib
2、
①把源代码放到刚建好的classes里
classes----字典码输出目录
②lib-----依赖包目录
检查tomcat有没有
绿色三角 启动项目