Upload photo with servlet,spring,rest and json.