mirror of
https://github.com/zxing/zxing.git
synced 2024-11-11 05:24:06 -08:00
7cd9541e90
git-svn-id: https://zxing.googlecode.com/svn/trunk@1192 59b500cc-1b3d-0410-9834-0bbf25fbcc57
61 lines
2.4 KiB
XML
61 lines
2.4 KiB
XML
<?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", "no-cache");</jsp:scriptlet>
|
|
<jsp:useBean id="result" scope="request" type="com.google.zxing.Result"/>
|
|
<jsp:useBean id="parsedResult" scope="request" type="com.google.zxing.client.result.ParsedResult"/>
|
|
<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>Decode Succeeded</title>
|
|
<link rel="stylesheet" href="style.css" type="text/css"/>
|
|
<style type="text/css">
|
|
td { vertical-align: top; padding: 0.1in; background-color: #EEEEEE; font-family: monospace; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div id="header"><h1><img src="zxing-icon.png" height="32" width="32" alt=""/> Decode Succeeded</h1></div>
|
|
<table>
|
|
<tr>
|
|
<td>Raw text</td>
|
|
<td><jsp:expression>request.getAttribute("text")</jsp:expression></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Raw bytes</td>
|
|
<td><jsp:expression>request.getAttribute("rawBytesString")</jsp:expression></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Barcode format</td>
|
|
<td><jsp:getProperty name="result" property="barcodeFormat"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Parsed Result Type</td>
|
|
<td><jsp:getProperty name="parsedResult" property="type"/></td>
|
|
</tr>
|
|
<tr>
|
|
<td>Parsed Result</td>
|
|
<td><jsp:expression>request.getAttribute("displayResult")</jsp:expression></td>
|
|
</tr>
|
|
</table>
|
|
<div id="footer"><p>Copyright 2008 and onwards ZXing authors</p></div>
|
|
<jsp:include page="analytics.jspx"/>
|
|
</body>
|
|
</html>
|
|
</jsp:root>
|