You can send a RPC-Request to your server/backend, check the existens of the file, and send true/false back.
On 24 Nov., 14:59, darkflame <[EMAIL PROTECTED]> wrote: > oh...it seems GWT dosnt support the Head method only Post / Get :-/ > (apperently Saffire dosnt support it) > > On Nov 24, 2:40 pm, darkflame <[EMAIL PROTECTED]> wrote: > > > fantastic :D Cheers :) > > > On Nov 24, 2:32 pm, Lothar Kimmeringer <[EMAIL PROTECTED]> wrote: > > > > darkflame schrieb: > > > > > Is there a better method? > > > > If I used RequestBuilder I could treat it like any other file, but if > > > > the image is big (1MB), that will waste a hell of a lot of loading > > > > time. (and presumably wont be cached if loaded that way). > > > > You can use RequestBuilder and use the HEAD-Method. This returns > > > just the HTTP-Response-header and no content. It is commonly used > > > for - you might guess it ;-) - checking the existance or change > > > of a resource before loading it. > > > > Regards, Lothar > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---