With regard to point 2 and 3, a small suggestion: from JDK 1.2 onwards, you
can create temporary files. Maybe you can use this instead of managing the
temporary files.

Jimmy Larsson wrote:

>
> 2. When decoding the multipart request the whole file is stored in memory
> as an byte array. You cant have this since users uploding files can fill
> up your memory.
>
> 3. When reading files in your action you can only read the files as a
> bytearray in memory. You cant have this for the same reason as in 2, also
> file-io in Java is intended to use streams.
>

Reply via email to