This page contains a download and instructions for configuring the "Get Virtual Earth Token" page for Java/JSP applications.
- Download vetokenJSP.zip.
- Extract the contents of vetokenJSP.zip to a Web-accessible folder.
- 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.
- 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.