+++ /dev/null
-<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
-
-<html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <title>Simple Spring-MVC Examples</title>
- </head>
- <body>
- <h1>Simple Spring-MVC Examples</h1>
- <ul>
- <li><a href="/spring-page.html">Simple Spring-View</a></li>
- <li><a href="/spring-controller.html">Simple Spring-Controller</a></li>
- <li><a href="/faulty-page.html">Spring-View, which will raise an error</a></li>
- <li><a href="/faulty-controller.html">Spring-Controller, which will raise an error</a></li>
- </ul>
- <p>This page was delivered via SPRING!</p>
- <h2>Note:</h2>
- <p>
- Since the <code>org.springframework.web.servlet.DispatcherServlet</code>
- ist configured to handle all <code>*.html</code>-requests, the path
- <code>/index.html</code> points to a view.
- </p>
- <p>
- Therefore, this page must be stored under
- <code>/WEB-INF/views/index.jsp</code> in order to be served as
- <code>/index.html</code>
- </p>
- <p>
- Additionatly, a file <code>/index.jsp</code> in the root-directory of
- the webappliction is needed, to forward unqualified requests
- (like <code>http://HOSTNAME/</code>) to the welcome-page served by
- the Spring-Dispatcher-Servlet.
- </p>
- </body>
-</html>