@Override
   protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
	   
	   String del = (String) req.getParameter("del");
	   if(del != null && del.equals("yes")){
		   log.info("remove file");
		   MatchUtil.removeFile();
	   }
	   
	   
	   String time = (String) req.getParameter("time");
	   if(time == null){
		   time = DateFormat.getDateInstance().format(new Date());
	   }
	   log.info("time is " + time);
	   if(MatchUtil.isFileExist()){
		   Match match = MatchUtil.readMatch();
		   try {
			   match.setTime(DateFormat.getDateInstance().parse(time));
		   } catch (ParseException e) {
			   // TODO Auto-generated catch block
			   e.printStackTrace();
		   }
		   match.setMatchCount((match.getMatchCount())+1);
		   MatchUtil.writeMatch(match);
	   }else{
		   Match match = new Match();
		   try {
			   match.setTime(DateFormat.getDateInstance().parse(time));
		   } catch (ParseException e) {
			   // TODO Auto-generated catch block
			   e.printStackTrace();
		   }
		   match.setMatchCount((match.getMatchCount())+1);
		   MatchUtil.writeMatch(match);
	   }
	  log.info((MatchUtil.readMatch()).toString());
	  String s = (String) req.getParameter("echostr");
      PrintWriter writer = resp.getWriter();
      writer.print(s);
      writer.close();
      
   }