http://www.pakzilla.com/2009/12/01/determine-whether-application-is-running-on-local-server-or-app-engine/
This link shows how to set the value of DEV_MODE to true or false according to whether they run on local machine or GAE. Is there any equivalent for HTTPServlet? -- 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.