I have also tried changing the getDoc to return an array of bytes and
trying to morph that back into a valid file but I failed.
You should do that. A .doc file cannot be represented by arrays of
characters
since they are binary data.
Here's the code. I've tried multiple permutations of
I am trying to send a downloaded word document through a jsp. When the
document is bigger than about 20K, part of it is missing. Can't tell
whether it's the end or the beginning that is getting cut off.
The junk.getDoc() return a string that's just the reading of a file
input stream. The