mirror of
https://github.com/zxing/zxing.git
synced 2024-11-11 05:24:06 -08:00
db60385d7d
git-svn-id: https://zxing.googlecode.com/svn/trunk@2002 59b500cc-1b3d-0410-9834-0bbf25fbcc57
58 lines
1.7 KiB
XML
58 lines
1.7 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.
|
|
-->
|
|
<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
|
|
<web-app>
|
|
|
|
<display-name>zxing.org</display-name>
|
|
|
|
<distributable/>
|
|
|
|
<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>
|
|
|
|
<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>
|
|
<load-on-startup>1</load-on-startup>
|
|
</servlet>
|
|
|
|
<servlet-mapping>
|
|
<servlet-name>DecodeServlet</servlet-name>
|
|
<url-pattern>/decode</url-pattern>
|
|
</servlet-mapping>
|
|
<servlet-mapping>
|
|
<servlet-name>jsp</servlet-name>
|
|
<url-pattern>*.jspx</url-pattern>
|
|
</servlet-mapping>
|
|
|
|
<welcome-file-list>
|
|
<welcome-file>index.jspx</welcome-file>
|
|
</welcome-file-list>
|
|
|
|
</web-app>
|