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: access denied (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.checkPermission (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 google-appengine-j...@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.