> If I understand your code correctly, you are loading all the bytes of
> the file (or BLOB) into memory at once, without good reason (a good
> reason might be if several objects were editing an XML document before
> it was to be served).
>
> I would use a variable (but small) buffer size. Then I w
I think the general idea is good. Struts comes with an "upload" example,
so there should be a "download" example, if there is not one already. So
I'll start with some constructive criticism.
If I understand your code correctly, you are loading all the bytes of
the file (or BLOB) into memory at
2 matches
Mail list logo