| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This sample provides Java code samples in support of the "Handling Requests" description Requests on Google App Engine.
This example uses the Maven gcloud plugin. To run this sample locally:
$ mvn appengine:devserver
To see the results of the RequestsServlet, open localhost:8080 in a WWW browser.
To see the results of the LoggingServlet, open localhost:8080/logs in a WWW browser and examine the logs to see the actual messages.
In the following command, replace YOUR-PROJECT-ID with your Google Cloud Project ID and SOME-VERSION with a valid version number.
$ mvn appengine:update -Dappengine.appId=YOUR-PROJECT-ID -Dappengine.version=SOME-VERSION
To save your project settings so that you don't need to enter the parameters, you can:
Update the <application> tag in src/main/webapp/WEB-INF/appengine-web.xml with your project name.
Update the <version> tag in src/main/webapp/WEB-INF/appengine-web.xml with a valid version number.
You will now be able to run
$ mvn appengine:update
without the need for any additional parameters.
| Back | FazBrowse Home | New Git URL |