Author: wesw
Date: Thu Jun  4 13:43:17 2009
New Revision: 781734

URL: http://svn.apache.org/viewvc?rev=781734&view=rev
Log:
first cut

Added:
    
struts/sandbox/trunk/struts2-fileupload-plugin/src/main/resources/struts-plugin.xml

Added: 
struts/sandbox/trunk/struts2-fileupload-plugin/src/main/resources/struts-plugin.xml
URL: 
http://svn.apache.org/viewvc/struts/sandbox/trunk/struts2-fileupload-plugin/src/main/resources/struts-plugin.xml?rev=781734&view=auto
==============================================================================
--- 
struts/sandbox/trunk/struts2-fileupload-plugin/src/main/resources/struts-plugin.xml
 (added)
+++ 
struts/sandbox/trunk/struts2-fileupload-plugin/src/main/resources/struts-plugin.xml
 Thu Jun  4 13:43:17 2009
@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you 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 struts PUBLIC
+    "-//Apache Software Foundation//DTD Struts Configuration 2.1.7//EN"
+    "http://struts.apache.org/dtds/struts-2.1.7.dtd";>
+
+<struts order="20">
+
+    <bean type="org.apache.struts2.fileupload.FileItemFactoryWrapper" 
name="struts.fileuploadplugin.fileitemfactory"
+          class="org.apache.struts2.fileupload.DiskFileItemFactoryWrapper"/>
+    <bean type="org.apache.commons.fileupload.ProgressListener" 
name="struts.fileuploadplugin.progressListener"
+          class="org.apache.struts2.fileupload.BasicProgressListener" />
+
+    <bean type="org.apache.struts2.dispatcher.multipart.MultiPartRequest" 
name="struts"
+          
class="org.apache.struts2.fileupload.EnhancedJakartaMultiPartRequest"/>
+    <bean type="org.apache.struts2.dispatcher.multipart.MultiPartRequest" 
name="jakarta"
+          
class="org.apache.struts2.fileupload.EnhancedJakartaMultiPartRequest"/>
+
+
+    <constant name="struts.fileuploadplugin.sizethreshold" value="256"/>
+    <constant name="struts.fileuploadplugin.repositorypath" value="/tmp" />
+    <constant name="struts.fileuploadplugin.listenerupdatefrequency" 
value="2048" />
+    <constant name="struts.fileuploadplugin.isportletupload" value="false"/>
+
+</struts>
\ No newline at end of file


Reply via email to