2018年3月27日

关于session

摘要: Session:在计算机中,尤其是在网络应用中,称为“会话控制”。Session 对象存储特定用户会话所需的属性及配置信息。这样,当用户在应用程序的 Web 页之间跳转时,存储在 Session 对象中的变量将不会丢失,而是在整个用户会话中一直存在下去。当用户请求来自应用程序的 Web 页时,如果该 阅读全文

posted @ 2018-03-27 09:40 麻烦ing 阅读(759) 评论(0) 推荐(0)

filter控制用户访问权限

摘要: public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest re 阅读全文

posted @ 2018-03-27 09:28 麻烦ing 阅读(1185) 评论(0) 推荐(0)

分析程序代码

摘要: long before = System.currentTimeMillis(); .......... long after = System.currentTimeMillis(); //规定了doFilter()负责拦截用户请求的过滤范围。 HttpServletRequest hreques 阅读全文

posted @ 2018-03-27 09:16 麻烦ing 阅读(153) 评论(0) 推荐(0)

导航