![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
javaweb
文章平均质量分 95
FloatingKid
这个作者很懒,什么都没留下…
展开
-
Servlet API 详解
目的:当前主要掌握三个类: HttpServlet,HttpServletRequest,HttpServletResponse。我们写 Servlet 代码的时候, 首先第一步就是先创建类, 继承自 HttpServlet, 并重写其中的某些方法.可以在里面写sout,每次打开页面,触发一次请求,打印一次service:doGet就是在 service 中调用的。service: 每次收到HTTP请求就会调用 ,HttpServlet父类里会有一个service方法,service会调用do原创 2023-11-24 16:22:55 · 884 阅读 · 0 评论 -
Servlet-运行原理
servlet运行原理原创 2023-11-19 15:16:18 · 78 阅读 · 0 评论