Writing Your First ASP

Now that you’ve gotten a Web server up and running, your test environment is ready. To get the hang of how ASPs work, let’s try our hand at one to ensure your Web server is running correctly.

In this code, you create a WAP application that does the following:

  • Allows a WML card to sit on the Web server, not on the remote user’s device. Thus, when a user accesses the remote Web server, the WML card page first displays.

  • The WML card will actually be an Active Server Page that dynamically displays the server’s time to the user.

First, type the changes to this new code. Save the file as default.asp and save this file in the C:\Inetpub\wwwroot directory. If another default.asp file already exists in this directory, you might ...

Get WAP 2.0 Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.