摘要: HttpServletRequest代表客户端的请求,用户通过Http协议访问服务器,HTTP请求中的所有信息会被封装到HttpServletRequest,通过这个HttpServletRequest的方法,获得客户端的所有信息。 获取前端传递的参数,请求转发 String getParamete 阅读全文
posted @ 2021-11-11 21:33 liyuSCU 阅读(64) 评论(0) 推荐(0)
摘要: 1、command键+鼠标左键查看HttpServletResponse的源码,然后再查看它继承的类ServletResponse的源码 负责向浏览器发送数据的方法: ServletOutputStream getOutputStream() throws IOException; PrintWri 阅读全文
posted @ 2021-11-11 09:19 liyuSCU 阅读(65) 评论(0) 推荐(0)