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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.