Hello

   I have a silverlight application hosted in my Index.html page that
I am able to upload blobs through to the DevAppServer.  Last week I
enabled billing in my application, when I attempt in production I
receive a "Not Found" exception after post but prior to my success
handler being called.  To make this work I am creating a multipart
form in silverlight and posting to an "attach" servlet ( shown here ),
I see all the log messages but my upload handler is not hit running
under the AppEngine.  Any ideas where I am going wrong or is there a
better approach?

  I should say, I am very new to all of the technologies I am using
here so I am sorry if my description is a bit rough.

Thank you for your time and ideas.
Patrick


public void doPost(HttpServletRequest req, HttpServletResponse resp)
throws IOException
{
  log.info("Post attachment started");
  BlobstoreService blobstoreService =
BlobstoreServiceFactory.getBlobstoreService();
  String uploadUrl = blobstoreService.createUploadUrl("/upload");

  log.info("Upload URL created");
  RequestDispatcher dispatcher =
req.getRequestDispatcher(uploadUrl);
  log.info(String.format("dispatcher for %s retrieved", uploadUrl));

  try {
     log.info("forwarding");
     dispatcher.forward(req, resp);
     log.info("forwarded");
  } catch (ServletException e) {
     e.printStackTrace();
     log.info(e.getMessage());
  }
}

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" 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-java?hl=en.

Reply via email to