Here is how I tell the client my blobstore upload is down. I redirect to
another servlet, which outputs ids I stick in the string.
/**
* this will send parmeters back to client for use
*
* @param response
* @param s
*/
private void sendRedirect(HttpServletResponse response, String s) {
if (s==null) {
log.severe("sendRedirect(): Error, nothing to redirect. s=" + s);
return;
}
String base = sp.getUrl(true);
String url = base + "/serve?" + s;
log.info("SendRedirect url=" + url + " base=" + base);
try {
response.sendRedirect(url);
} catch (IOException e) {
log.warning("Servlet_Upload.sendRedirect(): ERROR: url" + url);
e.printStackTrace();
}
}
Brandon Donnelson
http://gwt-examples.googlecode.com
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.