I am using Spring MVC. i have some form elements and image upload. before submit button i have to validate the image
(type, Height & width and size).
only accept JPG,JPEG,PNG,GIF file formats
400*400 ---height * width of the image
10000---size of the file.
Using jquery& ajax how to validate the image file?.Please help me. very Urgent Please
the project Details are as follows,
I have a form with some input elements and image upload button. using Spring MVC i validated the form elements and inserted into sql Database. successfully i completed. The modified requirement is before click a submit button i have to validate the image
instead of spring Validator i want to use Jquery -Ajax.
But here i attach sample program which i was tried to call spring mvc. i couldn't get the result. please any one try to help me.