質問編集履歴

1

フォームにナンバーを追記しました

2018/03/02 06:03

投稿

退会済みユーザー
test CHANGED
File without changes
test CHANGED
@@ -155,3 +155,53 @@
155
155
  HeidiSQL
156
156
 
157
157
  eclipse NEON
158
+
159
+ ```
160
+
161
+ JSPフォーム1、2を追記しました。
162
+
163
+ <%@ page language="java" contentType="text/html; charset=UTF-8"
164
+
165
+ pageEncoding="UTF-8"%>
166
+
167
+ <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
168
+
169
+ <html>
170
+
171
+ <head>
172
+
173
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
174
+
175
+ <title>select</title>
176
+
177
+ </head>
178
+
179
+ <body>
180
+
181
+
182
+
183
+ <form name="form1" method="post" action="Transfer">
184
+
185
+ <input type="hidden" name="value" value="regist">
186
+
187
+ <a href="#" onClick="document.form1.submit();">登録</a>
188
+
189
+ </form>
190
+
191
+
192
+
193
+ <form name="form2" method="post" action="Transfer">
194
+
195
+ <input type="hidden" name="value" value="searchName">
196
+
197
+ <a href="#" onClick="document.form2.submit();">検索</a>
198
+
199
+ </form>
200
+
201
+
202
+
203
+ </body>
204
+
205
+ </html>
206
+
207
+ ```