[Building Sakai] fileuploader

Steve Swinsburg steve.swinsburg at gmail.com
Wed Feb 22 03:23:11 PST 2012


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"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20120222/60ad0219/attachment.html 


More information about the sakai-dev mailing list