質問編集履歴

1

xmlのコードを載せました

2015/11/21 00:20

投稿

yamanoharu0129
yamanoharu0129

スコア47

test CHANGED
File without changes
test CHANGED
@@ -5,3 +5,51 @@
5
5
  エラーの原因がどこにあるのかわかりません。
6
6
 
7
7
  よくある原因や対処法を教えてください。
8
+
9
+
10
+
11
+ GAEを使っています。
12
+
13
+ プロジェクトsample1で、サーブレットはsample2servletでURLはsample1.jsp内のform actionで指定しています。
14
+
15
+ xmlは
16
+
17
+ ```<?xml version="1.0" encoding="utf-8"?>
18
+
19
+ <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
20
+
21
+ xmlns="http://java.sun.com/xml/ns/javaee"
22
+
23
+ xmlns:web="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
24
+
25
+ xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
26
+
27
+ http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd" version="2.5">
28
+
29
+ <servlet>
30
+
31
+ <servlet-name>sample2</servlet-name>
32
+
33
+ <servlet-class>sample1.sample2Servlet</servlet-class>
34
+
35
+ </servlet>
36
+
37
+ <servlet-mapping>
38
+
39
+ <servlet-name>sample2</servlet-name>
40
+
41
+ <url-pattern>/sample2</url-pattern>
42
+
43
+ </servlet-mapping>
44
+
45
+ <welcome-file-list>
46
+
47
+ <welcome-file>sample1.jsp</welcome-file>
48
+
49
+ </welcome-file-list>
50
+
51
+ </web-app>
52
+
53
+
54
+
55
+ ```