• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Multipart Upload - where does my file go?

 
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
I have a servlet that uses Multipart requests to upload files.
I am running tomcat3.2 as my webserver. I want to upload a file from my C: drive to the Web Server. I create a multipart request in the servlet like so -
MultipartRequest multi = new MultipartRequest(req, "e:\\temp", 5 * 1024 * 1024);
However, when I run the servlet, it does not put the file into the folder I specified......what am I doing wrong?
reply
    Bookmark Topic Watch Topic
  • New Topic