File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Uploading files to the server from a browser

 
david allen
Ranch Hand
Posts: 185
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I want to allow users to upload files (gif) to my server and then store the details of these files in a database. I know that I could easily find the code on the net but I want to learn how to do it myself. However, I need to be pointed in the right direction.
Are there any java classes that allow for this?
Any general and very broad pseudo code would be very much appreciated.
Thank you very much
David
 
Rahul Mahindrakar
Ranch Hand
Posts: 1868
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi david
This link over here should solve your problem
http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html?page=1
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic