Have you added the Extensions Filter to the web.xml file ?

    <!-- Extensions Filter -->
    <filter>
        <filter-name>extensionsFilter</filter-name>
       
<filter-class>org.apache.myfaces.webapp.filter.ExtensionsFilter</filter-class>
        <init-param>
            <description>Set the size limit for uploaded files.
                Format: 10 - 10 bytes
                10k - 10 KB
                10m - 10 MB
                1g - 1 GB</description>
            <param-name>uploadMaxFileSize</param-name>
            <param-value>100m</param-value>
        </init-param>
        <init-param>
            <description>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</description>
            <param-name>uploadThresholdSize</param-name>
            <param-value>100k</param-value>
        </init-param>
    </filter>

Regards,
Piotr




sback wrote:
> 
> Hi,
> 
>  really nobody could help me?
> 
>  I should definitively find a way to do a file upload with facelets...
> anyone could suggest me how to do if there is not solution using tomahawk
> and facelets?
> 
>  Thank you in advance
> 
> 
> 
> sback wrote:
>> 
>> Hi,
>> 
>>  I am really worried because I am trying to implement a simple file
>> upload in my application and I cannot manage to do it if I use Facelets
>> and Tomahawk.
>> 
>> [CUT]
>> 
>> Could you please help me! I am really worried for this problem :(
>> 
>> Thank you very much
>> 
>> Sback
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Faceletes-and-MyFaces-Tomahawk-fileupload-tp14162468p23410972.html
Sent from the MyFaces - Users mailing list archive at Nabble.com.

Reply via email to