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:
For example, create a file containing the following HDML deck.
<HDML VERSION="3.0">
<DISPLAY>
Hello Unwired World!
</DISPLAY>
</HDML>
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.
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.
The procedure for starting the UP.Simulator is described in Using the UP.Simulator.
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.