Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

binaryfile JavaServer Page tag

Updated on August 10, 2022

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.

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

JavaServer Page tags

Have a question? Get answers now.

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

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us