使用ServletContext对象完成网页计数器

上传者: 39368007 | 上传时间: 2021-04-22 20:42:31 | 文件大小: 825KB | 文件类型: ZIP
当服务器停掉后,重新启动。这个网页计数器又要重新开始计数。这显然不符合逻辑。故需要想一个办法,即使在服务器被停掉后,网页计数器也能正常计数。(使用了io流技术)

文件下载

资源详情

[{"title":"( 36 个子文件 825KB ) 使用ServletContext对象完成网页计数器","children":[{"title":"dym-Login","children":[{"title":".settings","children":[{"title":"com.genuitec.eclipse.j2eedt.core.prefs <span style='color:#111;'> 1009B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.name <span style='color:#111;'> 6B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.project.facet.core.xml <span style='color:#111;'> 412B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.common.component <span style='color:#111;'> 483B </span>","children":null,"spread":false},{"title":"org.eclipse.wst.jsdt.ui.superType.container <span style='color:#111;'> 49B </span>","children":null,"spread":false},{"title":".jsdtscope <span style='color:#111;'> 522B </span>","children":null,"spread":false},{"title":"org.eclipse.jdt.core.prefs <span style='color:#111;'> 364B </span>","children":null,"spread":false}],"spread":true},{"title":"src","children":[{"title":"com","children":[{"title":"dym","children":[{"title":"dao","children":[{"title":"LoginDao.java <span style='color:#111;'> 245B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"LoginDaoImpl.java <span style='color:#111;'> 3.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pojo","children":[{"title":"User.java <span style='color:#111;'> 1.52KB </span>","children":null,"spread":false}],"spread":true},{"title":"servlet","children":[{"title":"CookieServlet.java <span style='color:#111;'> 2.23KB </span>","children":null,"spread":false},{"title":"ShowServlet.java <span style='color:#111;'> 1.59KB </span>","children":null,"spread":false},{"title":"MainServlet.java <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"NumServlet.java <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"PageServlet.java <span style='color:#111;'> 1.42KB </span>","children":null,"spread":false},{"title":"LoginServlet.java <span style='color:#111;'> 2.69KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"LoginService.java <span style='color:#111;'> 239B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"LoginServiceImpl.java <span style='color:#111;'> 548B </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true}],"spread":true}],"spread":true},{"title":".project <span style='color:#111;'> 1.30KB </span>","children":null,"spread":false},{"title":"WebRoot","children":[{"title":"META-INF","children":[{"title":"MANIFEST.MF <span style='color:#111;'> 39B </span>","children":null,"spread":false}],"spread":true},{"title":"WEB-INF","children":[{"title":"web.xml <span style='color:#111;'> 3.16KB </span>","children":null,"spread":false},{"title":"classes","children":[{"title":"com","children":[{"title":"dym","children":[{"title":"dao","children":[{"title":"LoginDao.class <span style='color:#111;'> 257B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"LoginDaoImpl.class <span style='color:#111;'> 3.60KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"pojo","children":[{"title":"User.class <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false}],"spread":true},{"title":"servlet","children":[{"title":"ShowServlet.class <span style='color:#111;'> 2.03KB </span>","children":null,"spread":false},{"title":"NumServlet.class <span style='color:#111;'> 2.82KB </span>","children":null,"spread":false},{"title":"LoginServlet.class <span style='color:#111;'> 3.22KB </span>","children":null,"spread":false},{"title":"CookieServlet.class <span style='color:#111;'> 2.57KB </span>","children":null,"spread":false},{"title":"PageServlet.class <span style='color:#111;'> 1.90KB </span>","children":null,"spread":false},{"title":"MainServlet.class <span style='color:#111;'> 2.09KB </span>","children":null,"spread":false}],"spread":true},{"title":"service","children":[{"title":"LoginService.class <span style='color:#111;'> 277B </span>","children":null,"spread":false},{"title":"impl","children":[{"title":"LoginServiceImpl.class <span style='color:#111;'> 880B </span>","children":null,"spread":false}],"spread":false}],"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"lib","children":[{"title":"mysql-connector-java-5.1.25-bin.jar <span style='color:#111;'> 828.52KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"nums","children":[{"title":"nums.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false}],"spread":true},{"title":"doc","children":[{"title":"login.txt <span style='color:#111;'> 494B </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":".classpath <span style='color:#111;'> 1.16KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明