<%
BufferedReader test;
test=new BufferedReader(new FileReader("d:/ja/count1.txt"));
String tmp=null;
int i=0;
try
{
    tmp=test.readLine();
}
catch(IOException e)
{
   out.print("读取数据库错误");
}
if(tmp==null)
{
   i=1;
}
else
{
   i=Integer.parseInt(tmp)+1;
}
try
{
    PrintWriter outf=new PrintWriter(new FileOutputStream("d:/ja/count1.txt"));
outf.println(i);
outf.close();
}
catch(IOException e)
{
    out.print(e.getMessage());
}
test.close();
%>