From 6d1ee2f0d1b8aa6db4466e0d667b58b16d486191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BD=95=E6=A5=9A?= <823169880@qq.com> Date: Wed, 16 Jan 2019 16:49:18 +0800 Subject: [PATCH] Merge remote-tracking branch 'remotes/origin/master' into hechu1 # Conflicts: # src/gdms/GDMS.java --- .idea/artifacts/gdms_war_exploded.xml | 39 +++++++++++++++++++++++++++ src/init/Init.java | 10 +------ web/home/fillSbjMsg.jsp | 12 +++++---- 3 files changed, 47 insertions(+), 14 deletions(-) create mode 100644 .idea/artifacts/gdms_war_exploded.xml diff --git a/.idea/artifacts/gdms_war_exploded.xml b/.idea/artifacts/gdms_war_exploded.xml new file mode 100644 index 0000000..2a7e3df --- /dev/null +++ b/.idea/artifacts/gdms_war_exploded.xml @@ -0,0 +1,39 @@ + + + $PROJECT_DIR$/out/artifacts/gdms_war_exploded + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/init/Init.java b/src/init/Init.java index 7dea8d1..4384957 100644 --- a/src/init/Init.java +++ b/src/init/Init.java @@ -20,15 +20,7 @@ public class Init extends HttpServlet { if(ifInit) return; System.out.println("init start"); DBManagement.init(); - try { - GDMS.init(); - } catch (GExcptInit gExcptInit) { - gExcptInit.printStackTrace(); - System.exit(1); - } catch (GExcptFormat gExcptFormat) { - gExcptFormat.printStackTrace(); - System.exit(1); - } + ifInit = true; System.out.println("init finished"); } diff --git a/web/home/fillSbjMsg.jsp b/web/home/fillSbjMsg.jsp index 278f529..add09b0 100644 --- a/web/home/fillSbjMsg.jsp +++ b/web/home/fillSbjMsg.jsp @@ -20,12 +20,12 @@
<% - int processIndex=Integer.parseInt(request.getParameter("proccessIndex")); - User user=(User)session.getAttribute("user"); - TempProcess process= (TempProcess) user.getCondition().get(processIndex); + String index=request.getParameter("processIndex"); + // User user=(User)session.getAttribute("user"); + //TempProcess process= (TempProcess) user.getCondition().get(processIndex); %>
-
填写选题信息
+
填写选题信息<%=index%>
@@ -64,8 +64,10 @@
题目描述:
+ - +