随笔分类 - Servlet
about servlet
摘要:监听器的使用实例: public class SessionListener implements HttpSessionListener { public void sessionCreated(HttpSessionEvent arg0) { // TODO Auto-generated method stub ServletContext application=arg0.getSession().getServletContext(); int count=0; if(application.getAttribute("count")!=null)...
阅读全文

浙公网安备 33010602011771号