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

upload image using ServletInputStream

Abhishek Reddy
Ranch Hand

Joined: Mar 28, 2006
Posts: 259
This is what i have done...through this method i can able to upload text,pdf files successfully...but iam unable to upload image files, can anyone let me know where i went wrong..

Note: I just want to use only ServletInputStream...

thanks in advance

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63548

I see nowhere where you are parsing the multi-part request.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: upload image using ServletInputStream
jQuery in Action, 3rd edition