IIRC from previous threads, setting the maxFileSize cannot prevent
clients from submitting files larger than the limit you set, they can
only abort the processing thereof. (This is not a Struts-specific
limitation.) I believe the behavior you are seeing is the appropriate
behavior. I think the a
Marc Walter wrote:
Hi!
In want to use the controller element "maxFileSize" in the
struts-config.xml in order to provide a global maximum file upload size in
my application. So I entered the value "2M" (two megabytes) for test
purpose.
In my upload JSP I defined a submit button like this:
When
2 matches
Mail list logo