"Split" ReaderException into subclasses to enable more useful error reporting
[zxing.git] / zxingorg / web / format.jspx
diff --git a/zxingorg/web/format.jspx b/zxingorg/web/format.jspx
new file mode 100644 (file)
index 0000000..a88ff9b
--- /dev/null
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+ Copyright 2008 ZXing authors
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+ -->
+<!-- Author: Sean Owen -->
+<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>No Barcode Found</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=""/> Barcode Format Problem</h1></div>
+    <p>A barcode was possibly found in this image, but a problem occurred while decoding it. The data did not conform
+      to the barcode format. This could be due to a misdetection of the barcode, or could indicate a problem
+      with the barcode contents. Go "Back" in your browser and try another image.
+    </p>
+    <jsp:include page="analytics.jspx"/>
+  </body>
+</html>
+</jsp:root>