Re: [google-appengine] Blobstore returns incorrect url

2014-05-26 Thread Aidan Mack
As in deploy it to the web? I dont know. I really need to be able to get it working locally first anyway. Thanks Aidan On Saturday, 10 May 2014 06:27:59 UTC+1, Vinny P wrote: On Fri, May 9, 2014 at 7:45 AM, Aidan Mack aida...@hotmail.comjavascript: wrote: Hi im having trouble returning

[google-appengine] Blobstore returns incorrect url

2014-05-09 Thread Aidan Mack
Hi im having trouble returning the correct url from blob store. Could it be because Im logged in as a admin? ... You must be logged in as admin to see the page. Something like... BlobKey bk = new BlobKey(blobKey); ImagesService services = ImagesServiceFactory.getImagesService();

[google-appengine] saving google user details to datastore... but will they be kept to update?

2013-07-25 Thread Aidan Mack
Hi, If I save details to the datastore with something like User user = userService.getCurrentUser(); Entity greeting = new Entity(Greeting, guestbookKey); greeting.setProperty(user, user); That user then changers their nickname, I then query the datastore for that greeting entity. I

[google-appengine] redirect user if they are not admin via security constraint

2013-05-31 Thread Aidan Mack
security-constraint web-resource-collection url-pattern/admin/*/url-pattern /web-resource-collection auth-constraint role-nameadmin/role-name /auth-constraint /security-constraint Hi im using the above security restraint to stop none

[google-appengine] send entity ID to javascript from jsp. Have Java script request data from servlet and display in jsp

2013-03-13 Thread Aidan Mack
Hi, Im trying to create a system so that I can get data from servlet without redirecting to a new jsp. Im trying to do this using javascript. Currently Im stuck trying to send a entity key to javascript. Can I do that? I will then have javascript send that key on to a servlet and display the

[google-appengine] get data from datastore without refreshing page

2013-02-27 Thread Aidan Mack
Hi Im very new to app engine and java. But I have setup a jsp file that uses a java class to get data from the datastore. The java file though is obviously server side so I caunt just call a java method onclick from my jsp. Is their anyway to get more data from the datastore without