Hi, Thanks for your help. It worked with following syntax.
com.google.apphosting.api.ApiProxy.getCurrentEnvironment().getAppId() Thanks, On Wed, Feb 3, 2010 at 11:22 AM, seleronm <[email protected]> wrote: > Hi > > I think that the following methods are useful. > > com.google.apphosting.api.ApiProxy.Environment#getAppId > > Please try. > thanks. > > > >Does anyone know how to get current application-id/appspot-id from the > >Java program running under GAE? > > > >-- > >You received this message because you are subscribed to the Google Groups > >"Google App Engine" group. > >To post to this group, send email to [email protected]. > >To unsubscribe from this group, send email to google-appengine+ > >[email protected]. > >For more options, visit this group at > http://groups.google.com/group/google- > >appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" 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?hl=en.
