An image is shown correctly when uploaded to the deployment server, via the following HTML.
<img width="516" height="730" class="theCanvas img-fluid" style="transform-origin: 50% 50%;
transition:transform 200ms ease-in-out; cursor: move; transform: matrix(1, 0, 0, 1, 0, 0);"
draggable="false" src="../uploads/Scans/uploadedImage.jpg">
But the image is not displayed when running the application from localhost (Eclipse, Tomcat) and uploading the image from there.
It is not displayed even if I edit the source (via F12 development tools to edit the src tag)
http://localhost:8080/contextRoot/uploads/Scans/uploadedImage.jpg
Nor is it displayed even if I try and give the complete source to where the file is located in Eclipse
C:\Users\myUser\eclipse-workspace\contextRoot\uploads\Scans\uploadedImage.jpg
(Although I think this last issue is due to cross-domain issues, as if I try and do change the src attribute using jquery then I get 'Access Denied')
Any ideas?