質問編集履歴

1

web.xmlの追記

2020/07/07 02:12

投稿

Apeynd
Apeynd

スコア5

test CHANGED
File without changes
test CHANGED
@@ -170,6 +170,150 @@
170
170
 
171
171
  ```
172
172
 
173
+ ```xml
174
+
175
+ <?xml version="1.0" encoding="windows-31j"?>
176
+
177
+
178
+
179
+ <!DOCTYPE web-app
180
+
181
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"
182
+
183
+ "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd">
184
+
185
+
186
+
187
+ <web-app>
188
+
189
+ <display-name>Struts Blank Application</display-name>
190
+
191
+
192
+
193
+ <!-- Standard Action Servlet Configuration (with debugging) -->
194
+
195
+ <servlet>
196
+
197
+ <servlet-name>action</servlet-name>
198
+
199
+ <servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
200
+
201
+ <init-param>
202
+
203
+ <param-name>config</param-name>
204
+
205
+ <param-value>/WEB-INF/struts-config.xml</param-value>
206
+
207
+ </init-param>
208
+
209
+ <init-param>
210
+
211
+ <param-name>debug</param-name>
212
+
213
+ <param-value>2</param-value>
214
+
215
+ </init-param>
216
+
217
+ <init-param>
218
+
219
+ <param-name>detail</param-name>
220
+
221
+ <param-value>2</param-value>
222
+
223
+ </init-param>
224
+
225
+ <load-on-startup>2</load-on-startup>
226
+
227
+ </servlet>
228
+
229
+
230
+
231
+
232
+
233
+ <!-- Standard Action Servlet Mapping -->
234
+
235
+ <servlet-mapping>
236
+
237
+ <servlet-name>action</servlet-name>
238
+
239
+ <url-pattern>*.do</url-pattern>
240
+
241
+ </servlet-mapping>
242
+
243
+
244
+
245
+
246
+
247
+ <!-- The Usual Welcome File List -->
248
+
249
+ <!-- �X�^�[�g��ʂ�ݒ� -->
250
+
251
+ <welcome-file-list>
252
+
253
+ <welcome-file>index.jsp</welcome-file>
254
+
255
+ </welcome-file-list>
256
+
257
+
258
+
259
+
260
+
261
+ <!-- Struts Tag Library Descriptors -->
262
+
263
+ <taglib>
264
+
265
+ <taglib-uri>/tags/struts-bean</taglib-uri>
266
+
267
+ <taglib-location>/WEB-INF/struts-bean.tld</taglib-location>
268
+
269
+ </taglib>
270
+
271
+
272
+
273
+ <taglib>
274
+
275
+ <taglib-uri>/tags/struts-html</taglib-uri>
276
+
277
+ <taglib-location>/WEB-INF/struts-html.tld</taglib-location>
278
+
279
+ </taglib>
280
+
281
+
282
+
283
+ <taglib>
284
+
285
+ <taglib-uri>/tags/struts-logic</taglib-uri>
286
+
287
+ <taglib-location>/WEB-INF/struts-logic.tld</taglib-location>
288
+
289
+ </taglib>
290
+
291
+
292
+
293
+ <taglib>
294
+
295
+ <taglib-uri>/tags/struts-nested</taglib-uri>
296
+
297
+ <taglib-location>/WEB-INF/struts-nested.tld</taglib-location>
298
+
299
+ </taglib>
300
+
301
+
302
+
303
+ <taglib>
304
+
305
+ <taglib-uri>/tags/struts-tiles</taglib-uri>
306
+
307
+ <taglib-location>/WEB-INF/struts-tiles.tld</taglib-location>
308
+
309
+ </taglib>
310
+
311
+
312
+
313
+ </web-app>
314
+
315
+ ```
316
+
173
317
 
174
318
 
175
319
  ### 試したこと