0

I'm building a java application with tomcat embedded and jersey REST.

What i need to do is to implement a VERY simple (and single) file upload inside this application but i can't find anywhere a guide for my context...i just found a file upload solution but NOT with embedded tomcat.

Any suggestions?

Thanks everyone in advice and sorry for my English

  • Commons FileUpload should work in embedded just the same as elsewhere? – Jan Nov 30 '15 at 12:41
  • I don't think so ...where the uploaded file "should" be saved?the server is embedded so is "inside the jar" – user3357127 Nov 30 '15 at 12:44
  • Even if the *library* is inside the jar doesn't mean your data has to reside inside jar as well?! If you have no disk access at all you'd have to create MemoryFileItem like DiskFileItem maybe... – Jan Nov 30 '15 at 12:48

0 Answers0