SmartGWT 2.2 & GWT 2.1
Linux & Mac OSX
Ok, I am working with an Img object that is loaded from a servlet. The image I load into the Img is a jfreechart generated on the fly. I want to print this Img. If I try to use the print preview of the canvas it tries to recall the url of the servlet (no longer valid). Is there any way I can clone an Img with out it attempting to reload from the source? Is there no cool caching mechanism for Img so I don't have to download the same thing twice?
Please help enlighten me. I really do not want to store the image in the session and try to clean up the memory used on the server end.
Thank you.
Linux & Mac OSX
Ok, I am working with an Img object that is loaded from a servlet. The image I load into the Img is a jfreechart generated on the fly. I want to print this Img. If I try to use the print preview of the canvas it tries to recall the url of the servlet (no longer valid). Is there any way I can clone an Img with out it attempting to reload from the source? Is there no cool caching mechanism for Img so I don't have to download the same thing twice?
Please help enlighten me. I really do not want to store the image in the session and try to clean up the memory used on the server end.
Thank you.
Comment