Sandip Gupta

Greenhorn
+ Follow
since Apr 02, 2010
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Sandip Gupta

Yes got it correct with HttpClient and FileUpload.....thanks for the suggestion.....
12 years ago
I have a desktop application within which i know which image file is to be uploaded....to a server...The desktop application has the following code which sends a request to servlet on the server. The servlet needs to receive the image and save it to a folder on the server.....


//Code on client machine





//my servlet code




However...there is something wrong....I guess i am not processing the request properly...I have tried saving the image file using url and it works fine.....can some one guide me ...on how to receive a request and process it as image and save it to disk.....However if please point out if there is any error with the code on the client desktop application,.....
12 years ago