A Brief Introduction to WML

As you now know, WML is based on XML and is optimized for low-bandwidth transactions. One of the optimizations in WAP and WML is that a server can return multiple display pages in a single request. These display pages are referred to as cards. When you return a response to a WAP phone (or other device), the response can contain a series of <card> tags. The phone displays the first card in the response and it is up to you to provide navigation to the other cards. Figure 53.6 illustrates the layout of a response.

Figure 53.6. A response can contain multiple "pages" organized into cards.

Navigating Between Cards

There ...

Get Special Edition Using Java™ 2 Enterprise Edition 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.