[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Using UP.SDK with Web Servers and CGI Scripts
Section 23 out of 26 total sections , Section 3 out of 5 sections in this chapter


Testing a static HDML deck on your Web server

The previous chapter described how to test a static HDML deck on a local filesystem. It is also useful to test a static deck on your Web server to make sure the Web server is properly configured for HDML.

To test a simple static HDML deck on your Web server:

  1. Use a text editor to create the HDML file.
  2. For example, create a file containing the following HDML deck.

Make sure you save the file as a text-only file and that you save it to a filename with an .hdml extension. The HDML language provides a line-by-line description of this deck.

  1. Put the file in your Web server's document tree.
  2. To make the file accessible to the UP.Simulator, you must put it in a directory that is served by your Web server. Make sure you have configured your Web server to serve HDML files as described in Configuring your Web server for the UP.SDK.

  3. Start the UP.Simulator.
  4. The procedure for starting the UP.Simulator is described in Using the UP.Simulator.

  5. In the Go field below the UP.Simulator menu bar, type the URL of the HDML file you created and press Enter.
  6. Use the same URL that you would use to load the file in a conventional Web browser. For example, if the file name is mydeck.hdml, your URL might look like the following:

The UP.Simulator displays the card shown in Figure 3-5. The only difference is the URL in the Go field.


[Cover] [Previous Section] [Next Section] [Index]

Current chapter: Using UP.SDK with Web Servers and CGI Scripts
Section 23 out of 26 total sections , Section 3 out of 5 sections in this chapter


Copyright © 1999, Unwired Planet, Inc. All rights reserved.