cd728094 by Ean Schuessler

Added mapping for servlet

1 parent 022ab2fc
1 <?xml version="1.0"?>
2 <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
3
4 <!--
5 Licensed to the Apache Software Foundation (ASF) under one
6 or more contributor license agreements. See the NOTICE file
7 distributed with this work for additional information
8 regarding copyright ownership. The ASF licenses this file
9 to you under the Apache License, Version 2.0 (the
10 "License"); you may not use this file except in compliance
11 with the License. You may obtain a copy of the License at
12
13 http://www.apache.org/licenses/LICENSE-2.0
14
15 Unless required by applicable law or agreed to in writing,
16 software distributed under the License is distributed on an
17 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
18 KIND, either express or implied. See the License for the
19 specific language governing permissions and limitations
20 under the License.
21 -->
22
23 <web-app>
24 <display-name>NGINX Upload Servlet</display-name>
25 <description>Emulates the processing of the NGINX upload module</description>
26
27 <context-param>
28 <param-name>entityDelegatorName</param-name>
29 <param-value>default</param-value>
30 <description>The Name of the Entity Delegator to use, defined in entityengine.xml</description>
31 </context-param>
32
33 <servlet>
34 <servlet-name>uploader</servlet-name>
35 <display-name>Upload Servlet</display-name>
36 <description>Processes file uploads</description>
37 <servlet-class>com.brainfood.servlet.NGINXUploadProcessor</servlet-class>
38 <load-on-startup>1</load-on-startup>
39 </servlet>
40 <servlet-mapping>
41 <servlet-name>uploader</servlet-name>
42 <url-pattern>/</url-pattern>
43 </servlet-mapping>
44 </web-app>