Thanks for your soon answer ...

I have tried all wiki examples, my web.xml is well configured. The problem
is that there is not a exact code for Cocoon 2.1. Could you post the exact
action code you're using?

Thanks....

----- Original Message -----
From: "Sylvain Wallez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, November 10, 2003 5:03 PM
Subject: Re: Is it possible to upload files with Cocoon 2.1???


> Josep Riudavets wrote:
>
> > Hi all...
> >
> > I have posted some messages in order to learn about uploading files
> > with Cocoon 2.1. via an action, but there's no clear solution to this
> > problem.
> >
> > What do you think about this mistery??? Anybody has achieved it?
>
>
> Just set the "enable-uploads" parameter in web.xml to true, and then you
> can use the following:
>
> Part part = request.get("upload-input");
> InputStream stream = part.getInputStream();
>
> The Part class is defined in org.apache.cocoon.servlet.multipart
>
> Sylvain
>
> --
> Sylvain Wallez                                  Anyware Technologies
> http://www.apache.org/~sylvain           http://www.anyware-tech.com
> { XML, Java, Cocoon, OpenSource }*{ Training, Consulting, Projects }
> Orixo, the opensource XML business alliance  -  http://www.orixo.com
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to