Re: AW: How may I get the FilePart object ?

2002-12-05 Thread Geoff Howard
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:

AW: How may I get the FilePart object ?

2002-12-05 Thread Tobias Maile
  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

Re: How may I get the FilePart object ?

2002-12-04 Thread Sylvain Wallez
[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

Re: How may I get the FilePart object ?

2002-12-04 Thread Oskar Casquero
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

Re: How may I get the FilePart object ?

2002-12-04 Thread Oskar Casquero
    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

How may I get the FilePart object ?

2002-12-04 Thread mleroux
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 --