You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2010/10/01 10:05:06 UTC
svn commit: r1003426 -
/myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/web.xml
Author: lofwyr
Date: Fri Oct 1 08:05:06 2010
New Revision: 1003426
URL: http://svn.apache.org/viewvc?rev=1003426&view=rev
Log:
Monitoring of user sessions and activity. Can be helpful for performance tests.
Modified:
myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/web.xml
Modified: myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/web.xml?rev=1003426&r1=1003425&r2=1003426&view=diff
==============================================================================
--- myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/web.xml (original)
+++ myfaces/tobago/branches/tobago-1.0.x/example/demo/src/main/webapp/WEB-INF/web.xml Fri Oct 1 08:05:06 2010
@@ -34,29 +34,12 @@
<param-value>false</param-value>
</context-param>
- <filter>
- <filter-name>multipartFormdataFilter</filter-name>
- <filter-class>org.apache.myfaces.tobago.webapp.TobagoMultipartFormdataFilter</filter-class>
- <init-param>
- <description>Set the size limit for uploaded files. Default value is 1 MB.
- Format: 10 = 10 bytes
- 10k = 10 KB
- 10m = 10 MB
- 1g = 1 GB
- </description>
- <param-name>uploadMaxFileSize</param-name>
- <param-value>20m</param-value>
- </init-param>
- <!--<init-param>
- <description>Set the upload repository path for uploaded files. Default value is java.io.tmpdir.</description>
- <param-name>uploadRepositoryPath</param-name>
- <param-value>/tmp</param-value>
- </init-param>-->
- </filter>
- <filter-mapping>
- <filter-name>multipartFormdataFilter</filter-name>
- <url-pattern>/faces/*</url-pattern>
- </filter-mapping>
+ <listener>
+ <listener-class>org.apache.myfaces.tobago.example.demo.activity.ActivitySessionListener</listener-class>
+ </listener>
+ <listener>
+ <listener-class>org.apache.myfaces.tobago.example.demo.activity.ActivityServletContextListener</listener-class>
+ </listener>
<!-- workaround (e.g. for Oracle AS 10.1.2.0.0)-->
<listener>