Josep Riudavets wrote:

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?



public Map act(... Map objectModel ...) { Request request = ObjectModelHelper.getRequest(objectModel); Part part = (Part)request.get("upload-input"); InputStream stream = part.getInputStream();

 // use stream here...
}

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]



Reply via email to