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,.....