How can I check if the given URL of an image exists using GWT? -


i want check if given url exists , it's image, in order create new image(string url) it. if given url not image should return error.

you requestbuilder -- request image url, use response's getheaders() method content type, , check if it's image.


Comments

Popular posts from this blog

windows - Why does Vista not allow creation of shortcuts to "Programs" on a NonAdmin account? Not supposed to install apps from NonAdmin account? -

c# - Setting Server Bindings of IIS 6.0 Programmatically -

Python + DNS : Cannot get RRSIG records: No Answer -