I am running smartgwt power 3.0 and gwt 2.3. In dev mode I create an Img widget for a image that is generated dynamically on the server side. I am using RPC DMI. It displays fine in dev mode, but when I deploy to Weblogic it doesn't display. Not even a broken link. If I type the url in the browser I can access the image. I checked the server logs and it is returning the correct url. This is the client side code
This works fine in Dev mode, but after deploying I don't know what happens. The server logs say The image URL being sent is to the client for the graph is http://myipaddress/MyAppName/graphs/image-name.jpg. The server side code creates the URL and then returns the url.toString(); Like I said I can type the url returned into the browser and pull up the image, but the Img widget never shows when deployed to weblogic.
Code:
if(theGraphImage != null) { theGraphImage.setSrc(graphURL.toString() + "?" + currTime.toString()); } else { theGraphImage = new Img(graphURL.toString()); }
Comment