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++ - How do I get a multi line tooltip in MFC -

unit testing - How to mock PreferenceManager in Android? -