vaadin 14 upload a captured image from a smartphone

I'm new to vaadin and I'm trying to upload an image to the server from a smartphone captured image.

I'm been using Spring Boot and the code rigth here : the image is successfully taked but I don't know how to configure a server directory path on an embembed tomcat server.

As I can read here

The following example uploads images to /tmp/uploads directory in (UNIX) filesystem (the directory must exist or the upload fails). The component displays the uploaded image in an Image component.

I'm been running under Windows 10 so no upload directory, or do I've missed something.

I also tryed to configure this :


Thx in advance for your advice.

Read more here:

Content Attribution

This content was originally published by user3033090 at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: