This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Getting MEAN with Mongo, Express, Angular, and Node and have Simon Holmes on-line!
See this thread for details.
The moose likes Servlets and the fly likes Upload File Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » Servlets
Bookmark "Upload File" Watch "Upload File" New topic

Upload File

Patricia Fulk
Ranch Hand

Joined: Sep 10, 2001
Posts: 62
Hey All!
I need some help with uploading files using a servlet. I know that o'reilly has done this and I know about jspSmartUpload. But, I don't want to use either of these. I would prefer to do it myself. Can someone give me a good site that explains how to do a file upload?
Mike Curwen
Ranch Hand

Joined: Feb 20, 2001
Posts: 3695

the oreilly package would be a good place to start actually. You can view the source code of this package and from there figure out how he did it.
Patricia Fulk
Ranch Hand

Joined: Sep 10, 2001
Posts: 62
Thanks! I will try that.
I agree. Here's the link:
subject: Upload File