Try both binarizers, use appspot stylesheet, update dependency libs
[zxing.git] / zxingorg / web / badurl.jspx
index d7878d7..a73244e 100644 (file)
  limitations under the License.
  -->
 <!-- Author: Sean Owen -->
-<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns="http://www.w3.org/1999/xhtml" version="2.1">
-  <jsp:output
-          omit-xml-declaration="false" doctype-root-element="html"
-          doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
-          doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
-  <jsp:directive.page contentType="text/html" session="false"/>
-  <jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
-  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-    <head>
-      <title>Bad URL</title>
-    </head>
-    <body>
-      <h1><img src="zxing-icon.png" height="32" width="32" alt=""/> Bad URL</h1>
-      <p>You didn't specify a URL, or the URL was not valid, or did not return an image. Go "Back" in your browser and
-        try again.
-      </p>
-      <jsp:include page="analytics.jspx"/>      
-    </body>
-  </html>
+<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
+<jsp:directive.page contentType="text/html" session="false"/>
+<jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
+<jsp:text><![CDATA[<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">]]></jsp:text>
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
+  <head>
+    <title>Bad URL</title>
+    <link rel="stylesheet" href="style.css" type="text/css"/>    
+  </head>
+  <body>
+    <div id="header"><h1><img src="zxing-icon.png" height="32" width="32" alt=""/> Bad URL</h1></div>
+    <p>You didn't specify a URL, or the URL was not valid, or did not return an image. Go "Back" in your browser and
+      try again.
+    </p>
+    <jsp:include page="analytics.jspx"/>
+  </body>
+</html>
 </jsp:root>