Skip to content

Commit 2e6c57e

Browse files
committed
parameter for question
1 parent 9ad4a9f commit 2e6c57e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

deep-qa-web/src/main/webapp/index.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
</head>
5353
<body>
5454
<h1><font color="blue">人机问答系统演示 <a href="https://github.com/ysc/QuestionAnsweringSystem" target="_blank">项目主页</a></font></h1>
55-
<h2><a href="view.jsp">更多细节</a></h2>
55+
<h2><a href="view.jsp?q=<%=questionStr%>">更多细节</a></h2>
5656
<%
5757
if (questionStr == null || questionStr.trim().length() <= 3) {
5858
%>

deep-qa-web/src/main/webapp/view.jsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
</head>
5454
<body>
5555
<h1><font color="blue">人机问答系统演示 <a href="https://github.com/ysc/QuestionAnsweringSystem" target="_blank">项目主页</a></font></h1>
56-
<h2><a href="index.jsp">忽略细节</a></h2>
56+
<h2><a href="index.jsp?q=<%=questionStr%>">忽略细节</a></h2>
5757
<%
5858
if (questionStr == null || questionStr.trim().length() <= 3) {
5959
%>

0 commit comments

Comments
 (0)