I'am trying to add a photo with
Angular, but it gives me some errors.
It doesn't get the file name of the file input, he only get the description. So when I tempt to have the object, the object of the photo has only one property: the description; And naturally it doesn't add any photo.
this is the html file:
the part in AngularJs is this:
In the
Servlet:
In the console it display this error:
Unable to process parts as no multi-part configuration has been provided