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