>From the example in the Resin documentation I see how to get the name of the
temporary file that was created.  But I cannot find on Google any examples
on how to reference the original file's name, or content-type.  Can someone
give me a clue how to get that piece of data? 

To be clear, in this example from the Resin documentation:

String fileName = request.getParameter("file");
FileInputStream is = new FileInputStream(fileName);

int ch;
while ((ch = is.read()) >= 0)
  out.print((char) ch);


If the person sent a file called foobar.txt, how do I get to the name,



resin-interest mailing list

Reply via email to