GWT setUrl function of Image class does not work in IE
Now i am using GWT , I am trying to change the image path, but it does not work in IE
I am displaying image using Base64 encod开发者_如何学Pythoning ..it displays image properly but when i am trying to change the image to another Base64 encoding image it does not work in IE
Please suggest me
Thanks
If you are using the same URL, IE will cache that image. What you need to do is slightly change the URL like adding some query string behind it ... for instance: http://localhost/mysite/image.jpg?reload=1
Or of course prevent the caching itself in the first place.
精彩评论