This week's giveaway is in the Java/Jakarta EE forum. We're giving away four copies of Java EE 8 High Performance and have Romain Manni-Bucau on-line! See applets; that's the only other (trivial) way to get the size of the file before an upload begins. The other option is to stop the upload as soon as the maximum size is exceeded, which could be done doing some sort of upload listener--the specifics would depend on what you're actually using.
posted 7 years ago
Thanks David Newton for the reply,
I will consider the solution, although i doubt that i will be able to change my whole application to applets.
Thanks anyway and i appreciate any more suggestions, if any left.