header"
From Documentation
Maya001122 (talk | contribs) (Created page with '== The header Directive == <source lang="xml" > <?header name="..." value="..." [append="true|false"] [if="..."] [unless="..."] ?> </source> [since 5.0.2] Specifies a respon…') |
Maya001122 (talk | contribs) |
||
Line 1: | Line 1: | ||
− | + | __TOC__ | |
<source lang="xml" > | <source lang="xml" > |
Revision as of 01:25, 9 July 2010
<?header name="..." value="..." [append="true|false"] [if="..."] [unless="..."] ?>
[since 5.0.2]
Specifies a response header. It has the same effect as the invocation of Execution.setResponseHeader(String, String).
name
Required
Specifies the name of the header, such as Pragma
.
value
Required, EL allowed
Specifies the value of the header. The value could be an instance of string or Date (java.util.Date).
append
Optional, EL allowed Default: false
Specifies whether to append a response header or to replace (aka., set). By default, it is false. It means the previous header with the same name will be replaced. If you want to append the value to the previous value, specify it to true.