struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <>
Subject Re: Upload : Stream ended unexpectdly! please help me...
Date Mon, 02 Apr 2007 11:48:24 GMT
--- Gaet <> wrote:
> I use the "upload facility" of struts. Everything is
> well configured as it works for small files but when
> I try to upload a 2Mo file for instance, it fails
> Maybe I have a parameter to set but which one (I
> heard that struts accept 250M files by default,
> so...)

See towards the bottom:

     struts.multipart.maxSize Approximately 2M

With the defaults (in properties-format, anyway) from

     ### Parser to handle HTTP POST requests, encoded
using the MIME-type multipart/form-data
     # struts.multipart.parser=cos
     # struts.multipart.parser=pell
     # uses javax.servlet.context.tempdir by default


Now that's room service!  Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel to find your fit.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message