From 7cc637e9a0b8f23c27752091f124ee3bfabe9684 Mon Sep 17 00:00:00 2001 From: kenu Date: Thu, 14 Jun 2012 05:38:28 +0900 Subject: [PATCH] delete old-fashioned --- gawibawibo/WebContent/query.jsp | 22 ---------------------- gawibawibo/WebContent/stat.jsp | 11 ----------- 2 files changed, 33 deletions(-) delete mode 100644 gawibawibo/WebContent/query.jsp delete mode 100644 gawibawibo/WebContent/stat.jsp diff --git a/gawibawibo/WebContent/query.jsp b/gawibawibo/WebContent/query.jsp deleted file mode 100644 index 8539a8a..0000000 --- a/gawibawibo/WebContent/query.jsp +++ /dev/null @@ -1,22 +0,0 @@ -<%@page import="net.okjsp.gawi.Play"%> -<%@ page language="java" contentType="text/html; charset=utf-8" - pageEncoding="utf-8"%> -<% - Play play = new Play(); - String schoice = request.getParameter("choice"); - if (schoice != null) { - int choice = Integer.parseInt(schoice); - int computerChoice = play.getComputerChoice(); - String judgement = play.judge(choice, computerChoice); - play.save(choice, computerChoice, judgement); -%> ----- -당신: <%= play.items[choice] %> -컴퓨터: <%= play.items[computerChoice] %> ----- -
-<%= judgement %> -
-<% - } -%> diff --git a/gawibawibo/WebContent/stat.jsp b/gawibawibo/WebContent/stat.jsp deleted file mode 100644 index 2bfc8de..0000000 --- a/gawibawibo/WebContent/stat.jsp +++ /dev/null @@ -1,11 +0,0 @@ -<%@page pageEncoding="utf-8" %> -<%@page import="net.okjsp.gawi.Play"%> -<% - Play play = new Play(); - play.load(); -%> -
-TOTAL: <%= play.getTotal() %> -(<%= play.getWin() %>승 <%= play.getEven() %>무 <%= play.getLose() %>패 -승률: <%= play.getRate() %>%) -