Get Virtual Earth Token page - Java/JSPE-mail This Topic Printable Version Give Us Feedback

This page contains a download and instructions for configuring the "Get Virtual Earth Token" page for Java/JSP applications.

  1. Download vetokenJSP.zip.
  2. Extract the contents of vetokenJSP.zip to a Web-accessible folder.
  3. Open the file vetoken.jsp in a text editor and edit the "username" and "password" variables near the top of the file to contain your credentials for accessing Bing Maps.
  4. Edit the "refererUrls" to include the URL of the server that hosts your Web site. For example, if your application is running at http://myserver.com/myApp.html, set your allowed refererUrls to include http://myserver.com. Only applications hosted on http://myserver.com can use your Get Virtual Earth Token page.