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.
I am using two servers, in one server I am running UI (wars developed from Vaadin) and in another server running web services. I have files in server which is running webservices. I have to download them(files) from UI server. Please anyone suggest me how to download files from another server. I know to download from the same server by specifying file path.
There are many ways to do this one for example... 1) Add servlet to the remote server and let it serve files to the UI server. 2) If you have "getFile()" WS service use that one and load file from ws server to the UI server 3) Let UI server see WS server folder(map network drive) where the files are or use UNC paths