thanks for the response Stephen, and you are right on the spot. After
some experiments, here is what I found out about the peculiarity of
file upload:
1. the servlet spec indeed defines a 32-bit value for maximum file
sizes, however, myfaces seems to interpret it as an unsigned 32-bit,
so for max
Be aware that the servlet spec defines the filesize as an signed 32 bit*, so
that unless code is written correctly, there will always be a hard limit of
2GB on upload with size information in advance... since one DOS attack is to
upload a file of unlimited size (thereby filling your storage) most g
thank you for the response, Anuj. However, I am not entirely certain
if this property applies. For one thing, I am only using tomahawk,
not trinidad, and also I was able to upload files in hundred-megabyte
range, just not in GB, so if this property was the cause, I wouldn't
even be able to get th
Hey Jim,
There is a property org.apache.myfaces.trinidad.UPLOAD_MAX_DISK_SPACE
that you need to specify in your web.xml. This is the max allowable
disk space for your file. If you go beyond that, it will throw an
exception from its filter. The default is 512 (5000 KB).
Anuj Patel
Software E
4 matches
Mail list logo