• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Adding files with Angular

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic