cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Steffen Stundzig <stef...@smb-tec.com>
Subject Re: [C2] maybeupload
Date Tue, 12 Jun 2001 07:38:52 GMT
Hi Donald,

> Donald Ball <balld@webslingerZ.com> wrote:
> 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.

THX for your answer. I'm waiting impatiently for your patch, because saving
the uploaded file into the filesystem and then reading them and passing it to
the EJBContainer is not really an alternative against directly passing to the
EJB. 

If I could help you on coding or testing this thing, please let me know.

Best regards
	Steffen...


-- 
______________________________________________________________________
Steffen Stundzig                            mailto:steffen@smb-tec.com
SMB GmbH                                        http://www.smb-tec.com




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


Mime
View raw message