Hello again with a new question ...
I wrote a Web Dynpro Application, that uploads images from the client and stores them in a directory on the server. In the next step the WD Application reads the contents of that directory (for Example 1.jpg, 2.jpg, 3.jpg) and shall display these pics (dynamically).
The only thing that does not work is displaying the images. I do not know how to address them; i simply can not see them.
My application is running on a windows host in path "E:\usr\sap..."
The Pics are uploaded into the server directory "E:\ZZZ\"
<b>Following code shows the pics</b>, when i use a browser on the server itself. When i try it from another machine, is doesn't work. Seems as if the supplied path is a local path, not a server path.
IWDImage image11 = (IWDImage) view.createElement(IWDImage.class, "TestBild" + i);
image11.setAlt("file:///" + files<i>.toString());
image11.setSource("file:///" + files<i>.toString());
// files<i>.toString() contains: \E:ZZZ1.jpg
theGroup.addChild(image11);
<b>Thank you !!</b>