File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Uploading a file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Uploading a file" Watch "Uploading a file" New topic

Uploading a file

Anuradha Yerra

Joined: Feb 09, 2002
Posts: 3
Will you please tell how can i upload a file,and retreive using servlets....
paul wheaton

Joined: Dec 14, 1998
Posts: 20973

I know that it can be done using JavaScript, but I haven't tried that.
I have done it using applets, although the user gets asked if they give permission to the applet access their hard disk. The JavaScript won't do that.

permaculture Wood Burning Stoves 2.0 - 4-DVD set
I agree. Here's the link:
subject: Uploading a file
It's not a secret anymore!