LinkedIn
Copied!

Table of Contents

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:

  • JSP delimiters <pega:...> and </pega:...> mark the start and end of the tag.
  • Replace any text in italics with your choice of value of that type.
<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

Related Content

Suggest Edit
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.