webwork/src/resources/web/WEB-INF web.xml,1.17,1.18

[email protected] Sat, 18 May 2002 11:33:53 -0700
Newsgroups gmane.comp.java.webwork.cvs
Message-ID <[email protected]>
Update of /cvsroot/webwork/webwork/src/resources/web/WEB-INF
In directory usw-pr-cvs1:/tmp/cvs-serv28271

Modified Files:
	web.xml 
Log Message:
added multipart filter

Index: web.xml
===================================================================
RCS file: /cvsroot/webwork/webwork/src/resources/web/WEB-INF/web.xml,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- web.xml	3 Mar 2002 03:50:57 -0000	1.17
+++ web.xml	18 May 2002 18:33:51 -0000	1.18
@@ -1,7 +1,27 @@
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN" "http://java.sun.com/j2ee/dtds/web-app_2.2.dtd">
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!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>WebWork demo applications </display-name>
+   <filter>
+      <filter-name>multipart</filter-name>
+      <filter-class>webwork.multipart.MultiPartFilter</filter-class>
+      <init-param>
+         <param-name>saveDir</param-name>
+         <param-value>c:\\temp</param-value>
+      </init-param>
+      <init-param>
+         <param-name>maxSize</param-name>
+         <param-value>2097152</param-value>
+      </init-param>
+   </filter>
+
+   <filter-mapping>
+      <filter-name>multipart</filter-name>
+      <servlet-name>action</servlet-name>
+   </filter-mapping>
 
     <servlet>
         <servlet-name>action</servlet-name>
@@ -47,31 +67,31 @@
       <taglib-uri>webwork</taglib-uri>
       <taglib-location>/WEB-INF/lib/webwork.jar</taglib-location>
    </taglib>
-   
+
    <!-- #####################################################
-   
+
          added to test container security to test Misc. Tests
-   
-        ##################################################### 
-   
+
+        #####################################################
+
    <security-constraint>
     <web-resource-collection>
       <web-resource-name>Entire Application</web-resource-name>
       <url-pattern>test!foo.action</url-pattern>
     </web-resource-collection>
-    <auth-constraint>       
+    <auth-constraint>
        <role-name>tomcat</role-name>
     </auth-constraint>
    </security-constraint>
-   
+
    <login-config>
     <auth-method>BASIC</auth-method>
     <realm-name>Tomcat Manager Application</realm-name>
-   </login-config>        
-   
+   </login-config>
+
      #####################################################
-   
+
          added to test container security
-   
-        ##################################################### -->      
+
+        ##################################################### -->
 </web-app>



_______________________________________________________________
Hundreds of nodes, one monster rendering program.
Now that's a super model! Visit http://clustering.foundries.sf.net/