質問編集履歴
1
kousin
title
CHANGED
File without changes
|
body
CHANGED
@@ -40,4 +40,70 @@
|
|
40
40
|
/WEB-INF/layouts/baseLayout.jspはApache Tilesで使用しているベースレイアウトのことです。自己分析からいくとTilesの設定ファイルとweb.xmlファイルをコンテナ起動時に同時に読み込んでいるいるため、それの読み込みがネストして例外が出ているかと考えています。
|
41
41
|
|
42
42
|
【質問】
|
43
|
-
例外が生じず、うまくいく方法があるば教えてくれるとうれしいです。
|
43
|
+
例外が生じず、うまくいく方法があるば教えてくれるとうれしいです。
|
44
|
+
|
45
|
+
|
46
|
+
【追記】
|
47
|
+
**web.xml(全文)**
|
48
|
+
```xml
|
49
|
+
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
50
|
+
xmlns="http://java.sun.com/xml/ns/javaee"
|
51
|
+
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
|
52
|
+
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
|
53
|
+
version="2.5">
|
54
|
+
|
55
|
+
<context-param>
|
56
|
+
<param-name>contextConfigLocation</param-name>
|
57
|
+
<param-value>classpath:root-context.xml</param-value>
|
58
|
+
</context-param>
|
59
|
+
|
60
|
+
<filter>
|
61
|
+
<filter-name>characterEncodingFileter</filter-name>
|
62
|
+
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
|
63
|
+
<init-param>
|
64
|
+
<param-name>encoding</param-name>
|
65
|
+
<param-value>UTF-8</param-value>
|
66
|
+
</init-param>
|
67
|
+
<init-param>
|
68
|
+
<param-name>forceEncoding</param-name>
|
69
|
+
<param-value>true</param-value>
|
70
|
+
</init-param>
|
71
|
+
</filter>
|
72
|
+
<filter-mapping>
|
73
|
+
<filter-name>characterEncodingFileter</filter-name>
|
74
|
+
<url-pattern>/*</url-pattern>
|
75
|
+
</filter-mapping>
|
76
|
+
|
77
|
+
<listener>
|
78
|
+
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
|
79
|
+
</listener>
|
80
|
+
|
81
|
+
<servlet>
|
82
|
+
<servlet-name>dispatcher</servlet-name>
|
83
|
+
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
|
84
|
+
<init-param>
|
85
|
+
<param-name>contextConfigLocation</param-name>
|
86
|
+
<param-value></param-value>
|
87
|
+
</init-param>
|
88
|
+
<load-on-startup>1</load-on-startup>
|
89
|
+
</servlet>
|
90
|
+
|
91
|
+
<servlet-mapping>
|
92
|
+
<servlet-name>dispatcher</servlet-name>
|
93
|
+
<url-pattern>/</url-pattern>
|
94
|
+
</servlet-mapping>
|
95
|
+
|
96
|
+
<!-- この部分が問題 -->
|
97
|
+
<jsp-config>
|
98
|
+
<jsp-property-group>
|
99
|
+
<url-pattern>*.jsp</url-pattern>
|
100
|
+
<el-ignored>false</el-ignored>
|
101
|
+
<page-encoding>UTF-8</page-encoding>
|
102
|
+
<scripting-invalid>false</scripting-invalid>
|
103
|
+
<include-prelude>/WEB-INF/views/include.jsp</include-prelude>
|
104
|
+
</jsp-property-group>
|
105
|
+
</jsp-config>
|
106
|
+
|
107
|
+
</web-app>
|
108
|
+
|
109
|
+
```
|