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>
13 <p>This page was delivered via SPRING!</p>
16 Since the <code>org.springframework.web.servlet.DispatcherServlet</code>
17 ist configured to handle all <code>*.html</code>-requests, the path
18 <code>/index.html</code> points to a view.
21 Therefore, this page must be stored under
22 <code>/WEB-INF/views/index.jsp</code> in order to be served as
23 <code>/index.html</code>
26 Additionatly, a file <code>/index.jsp</code> in the root-directory of
27 the webappliction is needed, to forward unqualified requests
28 (like <code>http://HOSTNAME/</code>) to the welcome-page served by
29 the Spring-Dispatcher-Servlet.