Skip to main content


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

file JavaServer Page tag

Updated on August 16, 2022

Use the file JSP tag within a static JSP tag to identify a single text file rule ( Rule-File-Text rule type) to be included in the current stream.

For example:

<pega:static type="script" app="webwb" ><pega:file name="Markov.js" /><pega:bundle name="Acmestyles" /></pega:static>

This tag references the text file rule named webwb.Markov.js.

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:file name="myname.type" / >

The name attribute is required.

AttributeValue
name Second and third key part of a text file rule to be sent as static content. All rules within one static tag must contain JavaScript, or all must contain CSS styles. All files included within one <pega:static ..> tag must have the same first key part ( Application Name Directory ).

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