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

uploading

Arun Prasath
Ranch Hand

Joined: May 23, 2007
Posts: 80
can anyone tell me how to upload the file using servlet and jsp also
?










[BPS: fixed spelling in subject line (put the L in uploading)]
[ June 26, 2007: Message edited by: Ben Souther ]
bnkiran kumar
Ranch Hand

Joined: Mar 02, 2006
Posts: 176
Upload to where? to an ftp location???


Kiran Kumar.
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41603
    
  55
Assuming you are talking about uploading a file via HTTP from a web browser to a web server/servlet container, then you will have to use servlets, not JSP. More details can be found here.


Ping & DNS - my free Android networking tools app
Arun Prasath
Ranch Hand

Joined: May 23, 2007
Posts: 80
its uploading to http server ........
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

"Arun AV",

There aren't many rules that you need to worry about here on the Ranch, but one that we take very seriously regards the use of proper names. Please take a look at the JavaRanch Naming Policy and adjust your display name to match it.

In particular, your display name must be a first and a last name separated by a space character, and must not be obviously fictitious.

Thanks!
bear
JavaRanch Sheriff


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61095
    
  66

See the JSP FAQ for info on uploading.
Amit Kumargupta
Ranch Hand

Joined: Apr 13, 2007
Posts: 54
Hi Arun
I think this link may be helpful for you

http://www.theserverside.com/tt/articles/article.tss?l=HttpClient_FileUpload
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: uploading