Statische HTML-Datei zu den Test-Beispielen hinzugefĆ¼gt
authorKai Moritz <kai@coolibri.de>
Fri, 1 Jun 2012 23:58:16 +0000 (01:58 +0200)
committerKai Moritz <kai@coolibri.de>
Thu, 2 Aug 2012 07:03:26 +0000 (09:03 +0200)
cachecontrol-example-jsp/src/main/webapp/WEB-INF/web.xml
cachecontrol-example-jsp/src/main/webapp/index.html [new file with mode: 0644]

index 6080872..3da36b9 100644 (file)
     <url-pattern>*.jsp</url-pattern>
   </filter-mapping>
 
+  <filter-mapping>
+    <filter-name>accelerator</filter-name>
+    <url-pattern>*.html</url-pattern>
+  </filter-mapping>
   <filter-mapping>
     <filter-name>accelerator</filter-name>
     <url-pattern>*.jsp</url-pattern>
diff --git a/cachecontrol-example-jsp/src/main/webapp/index.html b/cachecontrol-example-jsp/src/main/webapp/index.html
new file mode 100644 (file)
index 0000000..e3e452f
--- /dev/null
@@ -0,0 +1,25 @@
+<!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>Static Page</title>
+    <link rel="stylesheet" type="text/css" media="all" href="/default.css">
+  </head>
+  <body>
+    <h1>Static Page</h1>
+    <p>This page is a static HTML-page</p>
+    <p>At the same time, it gives an overview over all tests...</p>
+    <h2>JSP-Pages</h2>
+    <ul>
+      <li><a href="/simple-page.jsp">A really simple JSP-page</a></li>
+      <li><a href="/page-with-include.jsp">A JSP-page with several includes</a></li>
+      <li><a href="/page-with-forward.jsp">A JSP-page with a forward to /simple-page.jsp</a></li>
+    </ul>
+    <h2>Static Content</h2>
+    <ul>
+      <li><a href="/index.html">A plain static HTML-file (this page!)</a></li>
+      <li><a href="/default.css">A plain static CSS-file</a></li>
+    </ul>
+  </body>
+</html>