Try both binarizers, use appspot stylesheet, update dependency libs
[zxing.git] / zxingorg / web / decode.jspx
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!--
3  Copyright 2008 ZXing authors
4
5  Licensed under the Apache License, Version 2.0 (the "License");
6  you may not use this file except in compliance with the License.
7  You may obtain a copy of the License at
8
9       http://www.apache.org/licenses/LICENSE-2.0
10
11  Unless required by applicable law or agreed to in writing, software
12  distributed under the License is distributed on an "AS IS" BASIS,
13  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  See the License for the specific language governing permissions and
15  limitations under the License.
16  -->
17 <!-- Author: Sean Owen -->
18 <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="1.2">
19 <jsp:directive.page contentType="text/html" session="false"/>
20 <jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
21 <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>
22 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
23   <head>
24     <title>ZXing Decoder Online</title>
25     <link rel="stylesheet" href="style.css" type="text/css"/>
26   </head>
27   <body>
28     <div id="header"><h1><img src="zxing-icon.png" height="32" width="32" alt=""/> ZXing Decoder Online</h1></div>
29     <p>This is a simple page that will let you decode a 1D or 2D barcode found
30       in an image online. Enter a URL below.
31     </p>
32     <form action="decode" method="get">
33       <p>
34         <input type="text" size="50" name="u"/>&amp;nbsp;<input type="submit"/>
35         <input type="hidden" name="full" value="true"/>
36       </p>
37     </form>
38     <p>Or try uploading a file:</p>
39     <form action="decode" method="post" enctype="multipart/form-data">
40       <p>
41         <input type="file" size="50" name="f"/>&amp;nbsp;<input type="submit"/>
42         <input type="hidden" name="full" value="true"/>
43       </p>
44     </form>
45     <p>See the
46       <a href="http://code.google.com/p/zxing">project page</a>
47       for details.
48     </p>
49     <div id="footer"><p>Copyright 2008 and onwards ZXing authors</p></div>
50     <jsp:include page="analytics.jspx"/>
51   </body>
52 </html>
53 </jsp:root>