Try both binarizers, use appspot stylesheet, update dependency libs
[zxing.git] / zxingorg / web / decoderesult.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", "no-cache");</jsp:scriptlet>
21 <jsp:useBean id="result" scope="request" type="com.google.zxing.Result"/>
22 <jsp:useBean id="parsedResult" scope="request" type="com.google.zxing.client.result.ParsedResult"/>
23 <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>
24 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
25   <head>
26     <title>Decode Succeeded</title>
27     <link rel="stylesheet" href="style.css" type="text/css"/>    
28     <style type="text/css">
29       td { vertical-align: top; padding: 0.1in; background-color: #EEEEEE; font-family: monospace; }
30     </style>
31   </head>
32   <body>
33     <div id="header"><h1><img src="zxing-icon.png" height="32" width="32" alt=""/> Decode Succeeded</h1></div>
34     <table>
35       <tr>
36         <td>Raw text</td>
37         <td><jsp:expression>request.getAttribute("text")</jsp:expression></td>
38       </tr>
39       <tr>
40         <td>Raw bytes</td>
41         <td><jsp:expression>request.getAttribute("rawBytesString")</jsp:expression></td>
42       </tr>
43       <tr>
44         <td>Barcode format</td>
45         <td><jsp:getProperty name="result" property="barcodeFormat"/></td>
46       </tr>
47       <tr>
48         <td>Parsed Result Type</td>
49         <td><jsp:getProperty name="parsedResult" property="type"/></td>
50       </tr>
51       <tr>
52         <td>Parsed Result</td>
53         <td><jsp:expression>request.getAttribute("displayResult")</jsp:expression></td>
54       </tr>
55     </table>
56     <div id="footer"><p>Copyright 2008 and onwards ZXing authors</p></div>
57     <jsp:include page="analytics.jspx"/>
58   </body>
59 </html>
60 </jsp:root>