This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes JSP and the fly likes Uploading files to the server from a browser Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Uploading files to the server from a browser" Watch "Uploading files to the server from a browser" New topic
Author

Uploading files to the server from a browser

david allen
Ranch Hand

Joined: Sep 27, 2002
Posts: 185
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

Joined: Jul 28, 2000
Posts: 1836
Hi david
This link over here should solve your problem
http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html?page=1
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Uploading files to the server from a browser
 
Similar Threads
vignette story server
calling a servlet from a class
FTP Upload
Problem in copying file from server to client local machine folder
Restricting web server directory access (.htaccess file) Help Needed.