摘要:
1 URL url = ServletContextDemo3.class.getClassLoader().getResource("config.properties"); 2 System.out.println(url.getPath()); 3 阅读全文
posted @ 2017-09-02 13:17
狂妄的老头
阅读(481)
评论(0)
推荐(0)
摘要:
1 ServletContext sc = this.getServletContext(); 2 Long personCount = (Long)sc.getAttribute("personCount"); 3 if(personCount==null){ 4 personCount=(long)0; 5 ... 阅读全文
posted @ 2017-09-02 09:39
狂妄的老头
阅读(174)
评论(0)
推荐(0)

浙公网安备 33010602011771号