You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Huynh Ngoc Huy <hu...@yahoo.com> on 2002/11/21 10:33:29 UTC

Max file size when upload in struts-1.1b2

  Dear group,
  I'm using struts-1.1b2. What should I do to set the
maximum file size over 1M as I want to upload a file?
  Thanks,
  Huy


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus � Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Max file size when upload in struts-1.1b2

Posted by Vikram Goyal <te...@craftbits.com>.
Set the following in the struts-config.

<controller maxFileSize="500K" />

For file sizes in MB use 1M, 1.5M etc.

HTH
Vikram


----- Original Message -----
From: "Huynh Ngoc Huy" <hu...@yahoo.com>
To: <st...@jakarta.apache.org>
Sent: Thursday, November 21, 2002 7:33 PM
Subject: Max file size when upload in struts-1.1b2


>   Dear group,
>   I'm using struts-1.1b2. What should I do to set the
> maximum file size over 1M as I want to upload a file?
>   Thanks,
>   Huy
>
>
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>