I made an attempt at making file uploading capabilities more pluggable. There is a beta fileupload plugin with info here -
http://cwiki.apache.org/S2PLUGINS/advanced-fileupload-plugin.html Be aware, you will have to build a snapshot of struts since it depends on changes that were made after the 2.1.6 release. There really isn't much to using it, it is mostly backward compatible with the built-in multipart handler. You just have more configuration options if you use this plugin. Plus, if you look at the struts-plugin.xml file, you can see that there is an action where you can request a json string for status of currently executing uploads. This way, you could conceivably build a somewhat accurate statusbar. Check it out and give feedback, that's what'll make it better :) -Wes On Mon, Jul 13, 2009 at 12:21 PM, Daniele Development-ML<daniele....@googlemail.com> wrote: > Hello, > I'm trying to understand how to use the Streaming API of the Apache File > Upload Common libraries in conjunction with Struts. I need this as some > files I need to allow the uploading/download are rather big and should be > stored in memory. > > What I understood is that I need to define a multipart handler and configure > it to be used in the control element of struts-config.xml. However, I'm a > bit confused how the handler should be implemented. > > Anybody has had a similar experience and can share a suggestion or pointer > to useful resources (couldn't find very relevant docs for this issues - > perhaps just searching in the wrong places). > > Thanks! > > Dan > -- Wes Wannemacher Author - Struts 2 In Practice Includes coverage of Struts 2.1, Spring, JPA, JQuery, Sitemesh and more http://www.manning.com/wannemacher --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org