大家快瞧那结冰的湖水,春风一吹冰都融化了,河里的小鱼都游出海面,在湖水中自由的游来游去,多可爱的小鱼啊!多么欢快的小鱼啊!真是让人深深的为它那可爱的摸样着迷。春风一吹过那枯黄的小草身边时,小草突然边了摸样,它从原来的枯黄变成了嫩绿,慢慢地小草从嫩绿变成了鲜绿渐渐地越变越绿,绿的让人难以相信那是小草。啊!小草我为你的样子感到是个奇迹。
<!-- JSP-Hitcounter counts sessions.Copyright (C) 2000 Jesper Schmitz Mouridsen. Visit www.webappcabaret/jsm2/webapps.jsp?find=jsphcs for more info. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License at http://www.opensource.org/licenses/gpl-license.html for more details --><% BufferedReader inf = new BufferedReader(new FileReader("/path/to/counter.txt"));int tmp = Integer.parseInt(inf.readLine());int i=0;try {i = Integer.parseInt(request.getSession().getValue("tal").toString());} catch (NullPointerException t) {i=0; }if (i==0) {tmp++;PrintWriter outf = new PrintWriter(new BufferedWriter(new FileWriter("/path/to/counter.txt")));outf.println(tmp);outf.close();inf.close();request.getSession().putValue("tal", "1");}BufferedReader inf2 = new BufferedReader(new FileReader("/path/to/counter.txt"));%><%String zeroes="";String hits = inf2.readLine();inf2.close();for (int t=0; t < 8-hits.length(); t++) {zeroes=zeroes+"0"; }out.println(zeroes + hits);%> 本文javascriptp计数器代码到此结束。当你能梦的时候就不好放下梦。小编再次感谢大家对我们的支持!