Hello,
does anybody know an easy way to fetch the content (and nothing more,
nothing less) of a file uploaded from the client?
If the file contains unicode, the request will be a mix of headerinfo in
straight ascii, possibly other parameters,
and, in among this, unicode characters from the uploaded file.
I want to send the content of the file through an XML-parser, which needs a
Reader.
So I have to read the whole input into a buffer, and setup a CharArrayReader
on it, not?
But first I have to discard the bytes before and after the actual file
contents.
There must be another way of getting hold of just the file contents than to
chop up the request in pieces "by hand"
Or?
Any help appreciated (if it does not start with "Have you tried").
Regards,
erik