Updates for appspot
[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" xmlns="http://www.w3.org/1999/xhtml" version="2.0">
19   <jsp:output
20           omit-xml-declaration="false" doctype-root-element="html"
21           doctype-public="-//W3C//DTD XHTML 1.0 Strict//EN"
22           doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"/>
23   <jsp:directive.page contentType="text/html" session="false"/>
24   <jsp:scriptlet>response.setHeader("Cache-Control", "public");</jsp:scriptlet>
25   <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
26     <head>
27       <title>ZXing Decoder Online</title>
28     </head>
29     <body>
30       <h1><img src="zxing-icon.png" height="32" width="32" alt=""/> ZXing Decoder Online</h1>
31       <p>This is a simple page that will let you decode a 1D or 2D barcode found
32         in an image online. Enter a URL below.
33       </p>
34       <form action="decode" method="get">
35         <p>
36           <input type="text" size="50" name="u"/>&amp;nbsp;<input type="submit"/>
37           <input type="hidden" name="full" value="true"/>
38         </p>
39       </form>
40       <p>Or try uploading a file:</p>
41       <form action="decode" method="post" enctype="multipart/form-data">
42         <p>
43           <input type="file" size="50" name="f"/>&amp;nbsp;<input type="submit"/>
44           <input type="hidden" name="full" value="true"/>
45         </p>
46       </form>
47       <p>See the
48         <a href="http://code.google.com/p/zxing">project page</a>
49         for details.
50       </p>
51       <p>Copyright 2008 ZXing authors</p>
52       <jsp:include page="analytics.jspx"/>
53     </body>
54   </html>
55 </jsp:root>