Forum Replies Created
Viewing 1 post (of 1 total)
-
AuthorPosts
-
in reply to: image rendering not working for me (Websphere 4 on aix) September 23, 2009 at 07:04#27546
[SOLVED]
the host – “TestServer” above was a virtual host on another machine (eg HostA)
(HostA and TestServer share the same IP address).HostA didnt have DNS enabled, so HostA could not ping TestServer.
However my desktop PC itself could ping both HostA and TestServer.solution: (either enable DNS resolution – not allowed in my environment, or, add TestServer to the hosts file…)
Grrrrr
Now onto the rest of the prototype….here is a copy of the file that is WORKING. (it renders the two pictures)
<pd4ml:transform screenWidth="800" pageFormat="A4" pageOrientation="portrait" pageInsets="10,10,10,10,points" enableImageSplit="false" encoding="default" fileName="myoutput.pdf" inline="true" debug="true" > <% String url = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/"; %> <BASE id="theBase" href=""> Server Base Path = <BR><BR> TEST 1 Works Fine. This doesnt use the base tag resolution - it is already fully qualified. <img alt="Image from the forum topic: image rendering not working for me (Websphere 4 on aix)" src="http://testServer/wayne/wayne/my_logo.jpg" width="200" height="200"> TEST 2 WORKS, this uses the base tag to determine the apps context etc... so its a way for me to use relative paths that resolve to fully qualified urls when you look at the log. <img alt="Image from the forum topic: image rendering not working for me (Websphere 4 on aix)" src="wayne/my_logo.jpg"> <BR><BR> Hello, World A4! Hello, Page2!
-
AuthorPosts
Viewing 1 post (of 1 total)
