hi all,
Im having this problem with uploading blobs to the datastore. 
the upload form submits and the blob is stored in the datastore but the 
handler is never called. instead the browser redirects 
to https://www.google.com/accounts/ServiceLogin.
the application uses google accounts api authentication. 
Assuming my application url is http://app-id.appspot.com:
I check user authentication using a filter mapped by /* .

if(((HttpServletRequest)request).getUserPrincipal() == null){
 
((HttpServletResponse)response).sendRedirect(UserServiceFactory.getUserService().createLoginURL(Configuration.getLoginRedirectUrl()));
return;
}
filterChain.doFilter(request, response);

Configuration.getLoginRedirectUrl() returns http://app-id.appspot.com
the upload handler url is http://app-id.appspot.com/app-id/uploadhandler. 
the handler is never called and the application redirect url provided to 
the 
createLoginURL instead is redirected to after calling ServiceLogin.
*Note: the application behaves properly in development mode.*
*
*
*thnx*

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine for Java" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/google-appengine-java/-/vWGezqs8vBQJ.
To post to this group, send email to google-appengine-java@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine-java+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine-java?hl=en.

Reply via email to