Struts 1.3 does control when the file upload size hits a limit. The
<controller> element has a @maxFileSize attribute:

http://applegrew.blogspot.com/2008/10/struts-1-config-file-reference.html

Paul

2009/7/8 Martin Gainty <mgai...@hotmail.com>:
>
> FileUploadInterceptor has a setMaximumSize(Long size) method
>
> http://struts.apache.org/2.1.2/struts2-core/apidocs/org/apache/struts2/interceptor/FileUploadInterceptor.html
>
> hth
> Martin
> ______________________________________________
> Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
>
> Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
> sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
> oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich 
> dem Austausch von Informationen und entfaltet keine rechtliche 
> Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen 
> wir keine Haftung fuer den Inhalt uebernehmen.
> Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le 
> destinataire prévu, nous te demandons avec bonté que pour satisfaire informez 
> l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci 
> est interdite. Ce message sert à l'information seulement et n'aura pas 
> n'importe quel effet légalement obligatoire. Étant donné que les email 
> peuvent facilement être sujets à la manipulation, nous ne pouvons accepter 
> aucune responsabilité pour le contenu fourni.
>
>
>
>
>> From: frank.ru...@sas.com
>> To: user@struts.apache.org
>> Date: Wed, 8 Jul 2009 16:39:17 -0400
>> Subject: How is the max file size controlled for file uploads in Struts 
>> 1.3.8?
>>
>> Can it be changed?
>>
>> ----------------------------------------------------------------------------------------------------------------
>> Frank Russo
>> Developer ▪ Financial Services Division
>> SAS® … THE POWER TO KNOW®
>>
>>
>
> _________________________________________________________________
> Windows Live™: Keep your life in sync.
> http://windowslive.com/explore?ocid=TXT_TAGLM_WL_BR_life_in_synch_062009

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to