Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading files Servlet

 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I need code for uploading files. Any ideas where i can get such code.
Thanks
 
Butch Car
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
http://www.servlets.com/cos/
 
vaibhav punekar
Ranch Hand
Posts: 134
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can download the "com" package from the Oreilly's site.Oreilly's "Java Servlet Programming" has code for Upload Servlet which has some error that has been rectified by this bunch of classes packaged under com package.It has main "MultipartRequest" class in which you set enctype="multipart/form-data" which is used for uploading files.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic