The moose likes Servlets and the fly likes uploading files using servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "uploading files using servlet" Watch "uploading files using servlet" New topic

uploading files using servlet

Khuram Khan

Joined: Dec 18, 2002
Posts: 25
plz tell me how to upload files using servlet
i used ServletInputStream but there is no any specified method to access any specific file as ServletInputStream gives all files in one stream ... plz tell me if i have to access any specfic file ...
I will be really thank full if u write like code that could give me the hint ... .... ...

Khuram Khan
khan@sindhi. tk

Kamal Khan<p>Sun Certified Programmer for Java2<br />Sun Certified Web Component Developer<br />SCBCD
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63865

File uploading has been discussed numerous times in these forums. Please perform a search on the term 'upload' in this (Servlets) forum and in the JSP forum, and you will find lots of good information that should help you get started.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: uploading files using servlet
It's not a secret anymore!