Improvements and refinements to web site
[zxing.git] / zxingorg / web / badurl.jspx
index c9459b2..30b6f5e 100644 (file)
  See the License for the specific language governing permissions and
  limitations under the License.
  -->
+<!-- Author: Sean Owen (srowen@google.com) -->
 <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="-//WAPFORUM//DTD XHTML Mobile 1.1//EN"
-       doctype-system="http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd"/>
-<jsp:directive.page contentType="application/xhtml+xml" session="false"/>
-<jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
-<head><title>No Barcode Found</title></head>
-<body>
-<p><b>Bad URL</b></p>
-<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>
-<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
-</script>
-<script type="text/javascript">
-_uacct = "UA-788492-5";
-urchinTracker();
-</script>
-</body>
-</html>
+  <jsp:output
+          omit-xml-declaration="false" doctype-root-element="html"
+          doctype-public="-//WAPFORUM//DTD XHTML Mobile 1.1//EN"
+          doctype-system="http://www.openmobilealliance.org/tech/DTD/xhtml-mobile11.dtd"/>
+  <jsp:directive.page contentType="application/xhtml+xml" 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>