![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Servlet/Jsp
赶路
这个作者很懒,什么都没留下…
展开
-
PrintWriter和ServletOutputStream的区别
刚刚看到《java Servlet programming》中讲到PrintWriter部分时,作者说道: "Servlet uses the getWriter() method to retrieve a PrintWriter, the international-friendly counterpart to a PrintStream. PrintWriter convert...原创 2010-12-13 10:02:12 · 160 阅读 · 0 评论 -
Content-Encoding与Content-Type的区别
RFC 2616 for HTTP 1.1 specifies how web servers must indicate encoding transformations using the Content-Encoding header. Although on the surface, Content-Encoding (e.g., gzip, deflate, compress) a...原创 2010-12-27 09:44:30 · 221 阅读 · 0 评论 -
关于JSessionID【转】
在servlet规范中,HttpServletSession的获取时通过调用request.getSession(boolean createnew)方法来实现,其实现机制可以简单的理解为: 存在一个大的hashMap结构,key就是jsessionid,而valule是HttpservletSession对象。 request.getSession(boolean createnew)方法通...原创 2011-03-01 19:33:29 · 123 阅读 · 0 评论