This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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
Author

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


Abhishek
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 63202
    
  69

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


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: upload image using ServletInputStream
 
It's not a secret anymore!