The main difference between wireless output and HTML output has to do with the gear page fragments. The page fragments for wireless output take the form of JSP files, but their content is Wireless Markup Language (WML).

Wireless page fragments must be written in WML and placed in a JSP file. Each request must begin with the following contentType declaration:

<%@ page contentType="text/vnd.wap.wml" %>

If this declaration appears in the page template, then it does not need to be made in the page fragment.

A gear may need to implement fewer gear modes for wireless access than it needs for HTML. For example, a gear generally would not need a WML Install Configuration page, since you can assume the gear would be installed and managed by an administrator on an HTML client, rather than a WML client.

For information on the wireless page templates, see the Wireless Templates section of the Portal Page Structure chapter.