UP.SDK Getting Started Guide

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

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


Testing a static WML deck

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

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

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

    Make sure you save the file in text-only format with a .wml extension. The WML language provides a line-by-line description of this deck.

  3. Put the file in your Web server's document tree.
  4. To make the file accessible to the UP.Simulator, you must put it in a directory served by your Web server.

  5. Start the UP.Simulator (see Starting the UP.Simulator).
  6. Type the URL of your WML file in the Go field and press Enter (on your computer keyboard).
  7. Use the same URL that you would use to load the file in a conventional Web browser. For example, if the file name is hello.wml, your URL might look like the following:

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


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


Copyright © 1999, Phone.com Inc. All rights reserved.
Please send comments and questions to doc-comments@corp.phone.com.