In my jsp form, i have a digital signature uploading(jpg,gif,png), once the user selects the digital signature from the local system, he/she submits the form through submit button. URL/PATH will be saved in DB and image will be saved in server.
Before submitting the form, there should be a option for cropping the digital signature. Once the cropping is completed, only the cropped image should be saved in server and not the original image.
It would be great help if somebody can send the code.