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]
