摘要: 1 锁方法的使用: final ServletContext ctx = request.getServletContext();这个地方变量要定义成常量; new Thread(){//写成了内部类 public void run() { AddCount.add(ctx); }; }.start 阅读全文
posted @ 2016-12-03 11:05 折腾青春 阅读(3520) 评论(0) 推荐(0) 编辑