mirror of
https://github.com/zxing/zxing.git
synced 2024-11-11 05:24:06 -08:00
67 lines
2.1 KiB
Plaintext
67 lines
2.1 KiB
Plaintext
|
<?xml version="1.0" encoding="UTF-8"?>
|
||
|
<!--
|
||
|
Copyright (C) 2008 Google Inc.
|
||
|
|
||
|
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.
|
||
|
-->
|
||
|
<web-app version="2.5"
|
||
|
xmlns="http://java.sun.com/xml/ns/javaee"
|
||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||
|
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd">
|
||
|
|
||
|
<display-name>zxing.org</display-name>
|
||
|
|
||
|
<welcome-file-list>
|
||
|
<welcome-file>index.jspx</welcome-file>
|
||
|
</welcome-file-list>
|
||
|
|
||
|
<listener>
|
||
|
<listener-class>org.apache.commons.fileupload.servlet.FileCleanerCleanup</listener-class>
|
||
|
</listener>
|
||
|
|
||
|
<servlet>
|
||
|
<servlet-name>DecodeServlet</servlet-name>
|
||
|
<servlet-class>com.google.zxing.web.DecodeServlet</servlet-class>
|
||
|
<init-param>
|
||
|
<param-name>emailAddress</param-name>
|
||
|
<param-value>w@zxing.org</param-value>
|
||
|
</init-param>
|
||
|
<init-param>
|
||
|
<param-name>emailPassword</param-name>
|
||
|
<param-value>@EMAIL_PASSWORD@</param-value>
|
||
|
</init-param>
|
||
|
<load-on-startup>1</load-on-startup>
|
||
|
</servlet>
|
||
|
|
||
|
<servlet-mapping>
|
||
|
<servlet-name>DecodeServlet</servlet-name>
|
||
|
<url-pattern>/decode</url-pattern>
|
||
|
</servlet-mapping>
|
||
|
|
||
|
<filter>
|
||
|
<filter-name>DoSFilter</filter-name>
|
||
|
<filter-class>com.google.zxing.web.DoSFilter</filter-class>
|
||
|
</filter>
|
||
|
|
||
|
<filter-mapping>
|
||
|
<filter-name>DoSFilter</filter-name>
|
||
|
<url-pattern>/*</url-pattern>
|
||
|
</filter-mapping>
|
||
|
|
||
|
<mime-mapping>
|
||
|
<extension>cod</extension>
|
||
|
<mime-type>application/vnd.rim.cod</mime-type>
|
||
|
</mime-mapping>
|
||
|
|
||
|
</web-app>
|