Important Notice - Forums is archived

To simplify things and help our users to be more productive, we have archived the current forum and focus our efforts on helping developers on Stack Overflow. You can post new questions on Stack Overflow or join our Discord channel.

Product icon

Vaadin lets you build secure, UX-first PWAs entirely in Java.
Free ebook & tutorial.

Unable to upload file to server

Keshav M
5 years ago Apr 06, 2017 2:01pm

Hi, I am new to Vaadin. I am trying to make use of the "Multi-Upload" component that is present under https://vaadin.com/elements/-/element/vaadin-upload#demos

This is my script. While uploading the file, in browser, its showing that upload is completed. But, in the server, under the path mentioned, I could not find the file.. Do i need to implement any listeners or receivers to accept the file on server ?? or is automatically taken care by vaadin itself ??

(By the way, I am accessing vaadin core elements through CDN & not through Bower)

Please help

  <title>Hello World</title>
  <script src="https://cdn.vaadin.com/vaadin-core-elements/master/webcomponentsjs/webcomponents-lite.js"></script>
  <link rel="import" href="https://cdn.vaadin.com/vaadin-core-elements/master/vaadin-upload/vaadin-upload.html">

    <vaadin-upload id="RequestDemo" method="POST" target="">

Keshav M
5 years ago Apr 10, 2017 1:57pm