> 2. Use the flash to retrieve the data from datastore. If the request > failed, retrieve it again.
This can be done using HTML+JavaScript as well. Here is the piece of code from my app (notice that it uses jQuery), which performs HTTP-GET (which could be HTML, JSON or anything) and retry up to three times. var fetch = function(url, callback) { var retry = 0; var _attempt = function() { $.ajax({ type: "GET", url: url, success: function(data) { callback(data); }, error: function () { if (retry<3) { retry++; _attempt(); } else { // display error to the user ... } } }); }; _attempt(); }
-- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to google-appeng...@googlegroups.com. To unsubscribe from this group, send email to google-appengine+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en.