cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Donald Ball <ba...@webslingerZ.com>
Subject Re: [C2] maybeupload
Date Mon, 11 Jun 2001 16:59:06 GMT
On Mon, 11 Jun 2001, Steffen Stundzig wrote:

> Hi,
>
> I try to upload a file in my web app into my EJBContainer. But the
> MaybeUploadRequestWrapper in cocoon saves it in the filesystem. How can I
> customize the maybeupload thing to do what I wish, what it should do? :-)
>
> I haven't found any methods to access my uploaded file later. Nor could I
> disable the MaybeuploadRequestWrapper from an config file, to do the
> upload stuff itself.

if you call request.get() with the name of your file parameter as an
argument, you should get a string with the path to the file where it's
stored on the server's filesystem. i've got an outstanding patch that
disables the save-to-filesystem option and gives you an InputStream
instead. as soon as i've tracked down some (maybe) maybeupload problems
(or maybe they're my own) i'll post the patch.

- donald


---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message