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: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]