i couldnt locate the 1.3.8 distro..i was assumining EOLed? also there was no maxFileSize available in 2.1.6 tree? could you confirm that maxFileSize was dropped or deprecated?
in the meanwhile struts2 users try specifying MaximumSize as a interceptor=ref param e.g. <interceptors> <interceptor name="fileUpload" class="org.apache.struts2.interceptor.FileUploadInterceptor"/> </interceptor> <interceptor-stack name="fileUploadStack"> <interceptor-ref name="FileUploadInterceptor"><param name="MaximumSize">128000</param> </interceptor-ref> </interceptor-stack> thanks again for the update Martin Gainty ______________________________________________ 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. > Date: Wed, 8 Jul 2009 20:15:54 -0500 > Subject: Re: How is the max file size controlled for file uploads in Struts > 1.3.8? > From: pbened...@apache.org > To: user@struts.apache.org > > 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 > _________________________________________________________________ Windows Live™ SkyDrive™: Get 25 GB of free online storage. http://windowslive.com/online/skydrive?ocid=TXT_TAGLM_WL_SD_25GB_062009