옵션 |
|
jQuery.post(arr[0] + "/signcap/root/savesignature", { imageBase64: image_content, pdf: pdf_hidden, pdevname: pdev_hidden }, function (data, status) { if (status == 'success') { alert("Success"); } ).done(function(){ alert("done"); }).fail(function(xhr, textStatus, errorThrown){ alert("failed"); }).complete(function() { alert("completed"); }); |
@RequestMapping(value = "/savesignature", method = RequestMethod.POST) @ResponseBody public String saveBlog( @RequestParam String imageBase64, @RequestParam String pdf, @RequestParam String pdevname) throws IOException { ... } |