|
From: prenger <do-...@jb...> - 2006-06-15 20:20:26
|
Yes, I did. Here's a part of my web.xml:
<filter-name>extensionsFilter</filter-name>
<filter-class>org.apache.myfaces.component.html.util.ExtensionsFilter</filter-class>
<init-param>
Set the size limit for uploaded files.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
<param-name>uploadMaxFileSize</param-name>
<param-value>100m</param-value>
</init-param>
<init-param>
Set the threshold size - files
below this limit are stored in memory, files above
this limit are stored on disk.
Format: 10 - 10 bytes
10k - 10 KB
10m - 10 MB
1g - 1 GB
<param-name>uploadThresholdSize</param-name>
<param-value>100k</param-value>
</init-param>
<init-param>
<param-name>uploadRepositoryPath</param-name>
<param-value>/temp</param-value>
</init-param>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<servlet-name>FacesServlet</servlet-name>
</filter-mapping>
<filter-mapping>
<filter-name>MyFacesExtensionsFilter</filter-name>
<url-pattern>/faces/myFacesExtensionResource/*</url-pattern>
</filter-mapping>
I'm very sorry, but what do you mean with "filter is a new package" ? My guess is, that I should use org.apache.myfaces.component.html.util.ExtensionsFilter and not
org.apache.myfaces.webapp.filter.ExtensionsFilter. But I get the exception with both opportunities.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3951137#3951137
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3951137
|