JavaWeb笔记

1.JavaEE项目的三层架构

web层                                       com.atguigu.web/servlet/controller

service层                                 com.atguigu.web/servlet

                                                 com.atguigu.web/servlet。impl

dao持久层                                   com.atguigu.dao

实体bean对象                            com.atguigu.pojo/entity/domain/bean

测试包                                          com.atguigu.test/junit

工具类                                          com.atguigu.utils

7.2 IDEA中 Debug 调试的使用

Debug 调试代码,首先需要两个元素,断点+Debug启动服务器

1.断点 ,只需要在代码需要停的行的左边上单击,就可以添加和取消

2.Debug启动Tomcat运行代码

 

posted @ 2022-11-20 17:39  javaZ  阅读(14)  评论(0)    收藏  举报