Those changes were made after the 2.0.3 release.
You'll need to either check 2.0.3 branch out of cvs,
or wait for the imminent 2.0.4 release.
However, you can also configure cocoon to totally
ignore all file uploads by changing the
request-factory implementation in web.xml.
Look for:
The FilePart object represents the uploaded file.
Depending on how you configure "autosave-upload" parameter in WEB-INF/web.xml
cocoon returns a FilePartFile (the file is written to disk;
autosave-upload=true) or a FilePartArray (the file is in memory;
autosave-upload=false).[To
[EMAIL PROTECTED] wrote:
Hi !
I'm trying to use automatic upload with cocoon 2.0.3 (with jboss, jetty,
Linux red hat).
I've read that cocoon uploads the file and puts a FilePart object inside the
request.
So my question is :
How can I get this object inside my Java code ?
Cocoon uploads
tFile filePart = (FilePartFile)req.get(myParameter);
InputStream is = filePart.getInputStream();
inputSource = new InputSource(is);
Oskar
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, December 04, 2002 5:04 PM
Subject: How may I ge
FilePartFile filePart =
(FilePartFile)req.get(myParameter); InputStream is =
filePart.getInputStream(); inputSource = new
InputSource(is);
Oskar- Original Message - From:
<[EMAIL PROTECTED]>To:
<[EMAIL PROTECTED]>Sent: Wednesday, December 04, 2002 5:04
PMSubject: How m
Hi !
I'm trying to use automatic upload with cocoon 2.0.3 (with jboss, jetty,
Linux red hat).
I've read that cocoon uploads the file and puts a FilePart object inside the
request.
So my question is :
How can I get this object inside my Java code ?
Michael
--