I believe this is a known issue. I have run into this same issue before, and O'REILLY noted it on their examples site.

http://www.onjava.com/pub/a/onjava/2003/06/25/commons.html?page=3

I am not sure how to correct it in JSP . With servlets I include the following code to define the path.

String itemName = item.getName(); // Read in the name with the path
File fullFile = new File(item.getName());
File savedFile = new File(getServletContext().getRealPath("/"),fullFile.getName());
item.write(savedFile);



--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to