Sun Java System Portal Server Mobile Access 7.1 Tag Library Reference

content

Description

The content tag sets the content type and charset of the JSP response. The charset is determined based upon the type of the device making the request, but the content type must be explicitly specified. The tag should appear prior to the generation of any output from the JSP.

Tag Body

None.

Restrictions

None.

Attributes

The only attribute for content tag for which the Required value is Yes is:

type

Content type of the current JSP response.

Properties

None.

Example(s)
<%-- utility content --%>
<util:content type="text/vnd.wap.wml"/>