Maven-Plugin "Hibernate 4" implementiert
[percentcodec] / examples / spring / src / main / webapp / WEB-INF / views / index.jsp
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2
3 <html>
4   <head>
5     <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6     <title>Simple Spring-MVC Examples</title>
7   </head>
8   <body>
9     <h1>Simple Spring-MVC Examples</h1>
10     <ul>
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>
15     </ul>
16     <p>This page was delivered via SPRING!</p>
17     <h2>Note:</h2>
18     <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.
22     </p>
23     <p>
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>
27     </p>
28     <p>
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.
33     </p>
34   </body>
35 </html>