![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
ssh2
码工AI助手
YUI,EMT什么的赛高.
展开
-
web中filter与interceptor的用途
servlet的filter和struts2的interceptor filter基于回调函数,我们需要实现的filter接口中doFilter方法就是回调函数 filter是依赖于servlet容器的,即只能在servlet容器中执行,很显然没有servlet容器就无法来回调doFilter方法。而interceptor与servlet容器无关。 Filter的过滤范围比Inter原创 2015-09-04 01:18:22 · 610 阅读 · 0 评论 -
ssh插入信息报异常!don't flush the Session after an exception occurs
HTTP Status 500 - null id in com.news.entity.News entry (don’t flush the Session after an exception occurs)type Exception reportmessage null id in com.news.entity.News entry (don’t flush the Session af原创 2015-10-06 02:34:34 · 584 阅读 · 0 评论