Simple problem

View: New views
3 Messages — Rating Filter:   Alert me  

Simple problem

by Shaffer, Kurt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I set file uploads to an un-ruley amount (500MB and 1024MB) but when an
8MB file is attempted to be uploaded the user gets:

the request was rejected because its size (8620081) exceeds the
configured maximum (2097152)

Any ideas where or what I should check?

Thankx,
K


Re: Simple problem

by Allen Gilliland-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I believe that is a struts2 limitation.  I can't recall right now
exactly why that limit exists or if you can change it, but try searching
the struts2 documentation and mailing lists about it.

-- Allen


Kurt Shaffer wrote:

> I set file uploads to an un-ruley amount (500MB and 1024MB) but when an
> 8MB file is attempted to be uploaded the user gets:
>
> the request was rejected because its size (8620081) exceeds the
> configured maximum (2097152)
>
> Any ideas where or what I should check?
>
> Thankx,
> K
>
>

Re: Simple problem

by Alex Coles :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message



On Jul 23, 2008, at 8:15 PM, Allen Gilliland wrote:

> I believe that is a struts2 limitation.  I can't recall right now  
> exactly why that limit exists or if you can change it, but try  
> searching the struts2 documentation and mailing lists about it.
>
> -- Allen
>
>
> Kurt Shaffer wrote:
>> I set file uploads to an un-ruley amount (500MB and 1024MB) but  
>> when an
>> 8MB file is attempted to be uploaded the user gets:
>> the request was rejected because its size (8620081) exceeds the
>> configured maximum (2097152)
>> Any ideas where or what I should check?
>> Thankx,
>> K


Normally you would set struts.multipart.maxSize

However, have you seen this issue? https://issues.apache.org/roller/browse/ROL-1631

Alex
LightInTheBox - Buy quality products at wholesale price