[Building Sakai] fileuploader

Steve Swinsburg steve.swinsburg at gmail.com
Fri Feb 24 01:12:59 PST 2012


Most welcome. 
The reason it needs to be false is you are telling the Sakai request filter that you don't want it to process the upload and you'll handle it yourself.

Cheers



Sent from my iPhone

On 24/02/2012, at 20:00, David Wafula <davidwaf at gmail.com> wrote:

> Thanks Steve. I was setting upload.enabled=true ...(interesting it has
> to be false :) )
> 
> On Wed, Feb 22, 2012 at 1:23 PM, Steve Swinsburg
> <steve.swinsburg at gmail.com> wrote:
>> Hi David,
>> 
>> Make sure you've turned OFF file uploads in the request filter config in
>> your web.xml. Otherwise the Sakai request filter eats them.
>> 
>> <!-- Sakai request filter -->
>> <filter>
>>    <filter-name>sakai.request</filter-name>
>>    <filter-class>org.sakaiproject.util.RequestFilter</filter-class>
>>    <!-- this must be set to false so that file uploads are NOT parsed by
>> Sakai's RequestFilter
>>    this also means that the app needs to check the various sakai.properties
>> that set upload size etc,
>>     rather than relying on the Sakai RequestFilter to do it.
>>     -->
>>    <init-param>
>>        <param-name>upload.enabled</param-name>
>>        <param-value>false</param-value>
>>          </init-param>
>> </filter>
>> 
>> cheers,
>> Steve
>> 
>> 
>> 
>> On 22/02/2012, at 10:12 PM, David Wafula wrote:
>> 
>> Dear all,
>> Am using spring 2.5 /  jstl,  Using inbuilt spring uploading doesn't
>> work (no file gets submitted). I saw a nice fileuploader in
>> assignment2, but having hard time chasing down the exact code that
>> pops it up. Some pointers please ?.
>> 
>> --
>> David Wafula
>> _______________________________________________
>> sakai-dev mailing list
>> sakai-dev at collab.sakaiproject.org
>> http://collab.sakaiproject.org/mailman/listinfo/sakai-dev
>> 
>> TO UNSUBSCRIBE: send email to sakai-dev-unsubscribe at collab.sakaiproject.org
>> with a subject of "unsubscribe"
>> 
>> 
> 
> 
> 
> -- 
> David Wafula


More information about the sakai-dev mailing list