Application Walkthrough

Now, it's time to take a look at the code in this application, step-by-step. First, we'll show you how the WAP header changes when dealing with Web application platforms, such as JSP, ColdFusion, or ASP. Next, we'll walk through the application in the sequence a real-world user would view the cards and decks involved, demonstrating how that user can access database tables from WML.

Changing the WAP Header—home.asp

To begin coding home.asp, we'll use the standard WAP header, but we'll include one additional line of text as the preamble. This line of text makes the transition from ASP to WML. If we were to leave the content type as just asp the WAP device would probably present the user with an error message complaining ...

Get WAP Development with WML and WMLScript 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.