projects
/
website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Dispatcher-Servlet eindeutig benannt
[website]
/
src
/
main
/
webapp
/
WEB-INF
/
web.xml
diff --git
a/src/main/webapp/WEB-INF/web.xml
b/src/main/webapp/WEB-INF/web.xml
index
3be0c17
..
b3fcbbf
100644
(file)
--- a/
src/main/webapp/WEB-INF/web.xml
+++ b/
src/main/webapp/WEB-INF/web.xml
@@
-11,7
+11,7
@@
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
-
/WEB-INF
/spring/mvc.xml
+
classpath:
/spring/mvc.xml
</param-value>
</context-param>
</param-value>
</context-param>
@@
-43,7
+43,7
@@
<!-- Handles all requests into the application -->
<servlet>
<!-- Handles all requests into the application -->
<servlet>
- <servlet-name>
Spring MVC Dispatcher Servlet
</servlet-name>
+ <servlet-name>
Dispatcher Servlet - Branding
</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
@@
-54,8
+54,16
@@
</servlet>
<servlet-mapping>
</servlet>
<servlet-mapping>
- <servlet-name>
Spring MVC Dispatcher Servlet
</servlet-name>
+ <servlet-name>
Dispatcher Servlet - Branding
</servlet-name>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
<url-pattern>*.html</url-pattern>
</servlet-mapping>
+ <error-page>
+ <error-code>404</error-code>
+ <location>/WEB-INF/404.jsp</location>
+ </error-page>
+ <error-page>
+ <location>/WEB-INF/error.jsp</location>
+ </error-page>
+
</web-app>
</web-app>