You are here: Reference > Streams and JSP > JavaServer Pages tags > binaryfile

binaryfile JavaServer Page tag

Use the binaryfile JSP tag to identify a single binary file rule (Rule-File-Binary rule type) to be included in the current stream.

Use of this tag when sending an image or other binary object to the workstation can eliminate HTTP 304 (Not modified) error responses and improve static content performance.

For example:

<pega:binaryfile name="mycologo.jpg" app="webwb" />

This tag references the binary file rule named webwb.mycolog.jpg, which contains an image.

Complete syntax

In the syntax presentation below:

<pega:binaryfile name="myname.type" app="application" / >

The name attribute is required.

Attribute

Value

name

Second and third key part of a binary file rule to be sent as static content.

app

First key part of a binary file rule to be sent as static content.

JavaServer Page tags