Hi everyone,

I'm wondering if anyone has actually write a servlet that becomes 
the URL target of a FileReference.upload() method.

It seems that the uploaded file can be retrieved in the inputstream 
of the post request, i.e.  in the inputstream of the Request in 
doPost() method.

The problem is, there are lots of other data as well in that input 
stream (the actual file uploaded is in a form value called Filedata) 
and I don't know how to extract just the uploaded file so that I can 
store it in the machine where the servlet is.

I tried using getParameter("Filedata") but it doesn't work.
Does anyone know how to get around this problem?

Many thanks in advance.  Any help would be greatly appreciated.

Cheers,

Ivan.


Reply via email to