O'Reilly logo

Special Edition Using Java™ 2 Enterprise Edition by Mark Wutka

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required