Results 1 to 2 of 2
- 09-27-2009, 02:12 AM #1
Member
- Join Date
- Mar 2009
- Posts
- 5
- Rep Power
- 0
- 09-27-2009, 03:06 AM #2
there is that apache jakarta commons-fileupload project. their site has some good documentation and samples for using this on its own or with other things like struts.
the basics are the html form specifying the content-type of multipart form and to have a server side handler that can interpret the http multi-part sections, which is tedious to do by hand, which is why the use of existing api like commons-fileupload is a good idea. it depends on commons-logging and commons-io modules, but in practice the 3 jar files to add to your webapp is well worth it.
downloading will need to be handled by your own servlet though.
Similar Threads
-
Upload file to servlet and pass file to another servlet
By hofsoc in forum Advanced JavaReplies: 6Last Post: 06-04-2009, 11:09 PM -
how to upload/download files using javascript and html
By kuppi in forum Java AppletsReplies: 1Last Post: 11-06-2008, 04:47 AM -
Stuck with my program FTP upload, download + encryp,decrypt
By jurka in forum New To JavaReplies: 8Last Post: 08-26-2008, 04:50 AM -
File Upload Servlet problem
By jeniramires in forum Advanced JavaReplies: 3Last Post: 08-18-2008, 07:34 PM -
how to upload a file using servlet
By simon in forum Java ServletReplies: 1Last Post: 08-05-2007, 03:50 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks