cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robin Wyles <...@robinwyles.com>
Subject Re: Apache commons-fileupload returns an empty list
Date Wed, 16 Jul 2008 12:36:13 GMT
Magnus,

I really think the problems you are having are caused by the fact  
that the uploaded files have already been processed by Cocoon before  
you do your fileupload stuff, as I outlined in my earlier post [1].

Robin

[1] http://www.mail-archive.com/users@cocoon.apache.org/msg42637.html





On 16 Jul 2008, at 07:56, Magnus Haraldsen Amundsen wrote:

> I'm using 2.2, but is is because of the default max size that it  
> doesn't
> return any items?
>
> -----Original Message-----
> From: tigre@alessandro.vincelli.name
> [mailto:tigre@alessandro.vincelli.name] On Behalf Of Alessandro  
> Vincelli
> Sent: 15. juli 2008 17:09
> To: users@cocoon.apache.org
> Subject: re: Apache commons-fileupload returns an empty list
>
>
> Which version of cocoon are you using?
> In cocoon 2.2 I overrode this properties, by default the
> value is 100kb.
>
> #upload-max-size overriding cocoon core properties
> org.apache.cocoon.uploads.maxsize=10240000
>
> Bye
> Alessandro
>
> ----- Original Message -----
> Da : "Magnus Haraldsen Amundsen"
> <Magnus.Haraldsen.Amundsen@computas.com>
> A : <users@cocoon.apache.org>
> Oggetto : Apache commons-fileupload returns an empty list
> Data : Tue, 15 Jul 2008 13:08:17 +0200
>
>> 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.html
>> <http://commons.apache.org/fileupload/using.html>  but
>> line
>>
>>
>>
>> List /* FileItem */ items
>> upload.parseRequest(request.getCocoonRequest());
>>
>>
>>
>> always gives me an empty list. items.size() == 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.
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
> 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.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>


Mime
View raw message