On Wed, Dec 23, 2009 at 6:47 PM, Oren Hacohen <[email protected]> wrote: > I am having the exact same problem. > > I am Using $.post jquery to send my POST request to the servlet > residing on my app-engine application, > and I get the exact same error. > > Is there any solution\workaround for this issue ? Check out https://developer.mozilla.org/En/HTTP_access_control for an introduction.
But this is imho in no way related to GAE - it's a security feature of AJAX applications. So there are better places to ask for help... Raphael > > On Dec 11, 5:57 pm, Allen Cheng <[email protected]> wrote: >> I created two apps, one app provides a restful web service( such as >> abc001.appspot.com), and I want to make use of that web service in >> another app page (such as abc002,appspot.com) through ajax. Through >> setting the [ document.domain = "appspot.com"; ] in javascript, the >> browser could allow the ajax request from abc002 to abc001, but the >> request finally failed, from the log of abc001, I got the following >> message: >> >> java.security.AccessControlException:accessdenied >> (java.lang.RuntimePermission accessDeclaredMembers) >> at java.security.AccessControlContext.checkPermission >> (AccessControlContext.java:355) >> at java.security.AccessController.checkPermission >> (AccessController.java:567) >> at java.lang.SecurityManager.checkPermission(Unknown Source) >> at >> com.google.apphosting.runtime.security.CustomSecurityManager.checkPermissio n >> (CustomSecurityManager.java:45) >> ... >> >> Does anybody know the reason why the request failed? Google app engine >> does not allow such request? > > -- > > 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. > > > -- 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.
