Return-Path: Delivered-To: apmail-cocoon-users-archive@www.apache.org Received: (qmail 47104 invoked from network); 15 Jul 2008 11:12:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Jul 2008 11:12:02 -0000 Received: (qmail 39757 invoked by uid 500); 15 Jul 2008 11:11:59 -0000 Delivered-To: apmail-cocoon-users-archive@cocoon.apache.org Received: (qmail 39694 invoked by uid 500); 15 Jul 2008 11:11:58 -0000 Mailing-List: contact users-help@cocoon.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: users@cocoon.apache.org List-Id: Delivered-To: mailing list users@cocoon.apache.org Received: (qmail 39683 invoked by uid 99); 15 Jul 2008 11:11:58 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 04:11:58 -0700 X-ASF-Spam-Status: No, hits=3.8 required=10.0 tests=HTML_MESSAGE,MIME_QP_LONG_LINE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of Magnus.Haraldsen.Amundsen@computas.com designates 193.71.42.14 as permitted sender) Received: from [193.71.42.14] (HELO mail.computas.com) (193.71.42.14) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Jul 2008 11:11:05 +0000 Received: by mail.computas.com (Postfix, from userid 102) id 2AC46FCBE; Tue, 15 Jul 2008 13:08:17 +0200 (CEST) Received: from ATLAS.computas.int (neptun.computas.com [192.168.4.113])by mail.computas.com (Postfix) with ESMTP id 007B6F67Efor ; Tue, 15 Jul 2008 13:08:17 +0200 (CEST) X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative;boundary="----_=_NextPart_001_01C8E66B.159C0B6F" Subject: Apache commons-fileupload returns an empty list Date: Tue, 15 Jul 2008 13:08:17 +0200 Message-ID: <495295EE69BB4B4AAE73D1B0D8AD551803058063@ATLAS.computas.int> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Apache commons-fileupload returns an empty list Thread-Index: AcjmaxVWN/Ud5wUpSz25cGguh47rSg== From: "Magnus Haraldsen Amundsen" To: X-Virus-Checked: Checked by ClamAV on apache.org ------_=_NextPart_001_01C8E66B.159C0B6F Content-Type: text/plain;charset="us-ascii" Content-Transfer-Encoding: quoted-printable Hi, =20 I want to use commons-fileupload to handle fileupload in my webapp. I've followed the tutorial at http://commons.apache.org/fileupload/using.html but line=20 =20 List /* FileItem */ items =3D upload.parseRequest(request.getCocoonRequest());=20 =20 always gives me an empty list. items.size() =3D=3D 0. =20 I suspect that this is because the HttpServletRequest is already parsed somewhere within Cocoon. Is there a workaround for this problem? =20 -Magnus =20 =20 IMPORTANT NOTICE: This message may contain confidential information. If you have received this e-mail in error, do not use, copy or distribute it. Do not open any attachments. Delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. ------_=_NextPart_001_01C8E66B.159C0B6F Content-Type: text/html;charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Hi,

 

I want to use commons-fileupload to handle fileupload = in my webapp. I’ve followed the tutorial at http://commons.apache.org/fileupload/using.htm= l but line

 

List /* FileItem */ items =3D = upload.parseRequest(request.getCocoonRequest());

 

always gives me an empty list. items.size() =3D=3D = 0.

 

I suspect that this is because the HttpServletRequest = is already parsed somewhere within Cocoon. Is there a workaround for this = problem?

 

-Magnus

 

 


IMPORTANT NOTICE: This message may contain confidential information. If you have received this e-mail in error, do not use, copy or distribute it. Do not open any attachments. Delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you.
------_=_NextPart_001_01C8E66B.159C0B6F--