I tried to upload an image to server and trying to get employeeid as response. but i received some unwanted files as response. Eventhough i mentioned content type as text/json but i can get files. I dont know what is the problem. when i remove that fileupload field it is working fine. I think problem present in fileuploadfield only
Please give me some idea to achieve multipart request using servlet.