![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
J2EE规范
likeBean
这个作者很懒,什么都没留下…
展开
-
关于Filter,需要知道的
Filter是一个web应用中的一个利器,关于Filter,有几个注意点:1.Filter由servlet容器创建和销毁,在容器中只存在一个instance,因此在实现时,需要注意线程安全,和servlet一样,不能申明跟某一个request处理相关的私有变量。2.chain.doFilter(req, resp);将调用filterChain上的下一个filter的doFilter(),如果当前原创 2005-01-11 14:08:00 · 1388 阅读 · 2 评论 -
cookie使用注意点
1.set-cookie在浏览器端设置cookie,cookie按照时效性分为session cookie和persistence cookie,在下面的请求会带上合适的cookie2.You can use setDomain() to instruct the browser to send cookies to other hosts within the same domain.Cooki原创 2005-09-28 09:42:00 · 1149 阅读 · 0 评论 -
Tomcat中的webapp的classloader加载顺序
Therefore, from the perspective of a web application, class or resource loading looks in the following repositories, in this order:/WEB-INF/classes of your web application /WEB-INF/lib/*.jar of your w原创 2005-10-08 09:04:00 · 1656 阅读 · 0 评论