Meaningless Drivel is fun!*
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 Android Security Essentials Live Lessons this week in the Android 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: 1849
Hi david
This link over here should solve your problem
http://www.onjava.com/pub/a/onjava/2001/04/05/upload.html?page=1
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Uploading files to the server from a browser
 
Similar Threads
FTP Upload
calling a servlet from a class
Restricting web server directory access (.htaccess file) Help Needed.
vignette story server
Problem in copying file from server to client local machine folder