THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
HttpHeader
A custom Result type for evaluating HTTP headers against the ValueStack.
Parameters | Required | Description |
---|---|---|
status | no | the http servlet response status code that should be set on a response |
parse | no | true by default. If set to false, the headers param will not be parsed for Ognl expressions |
headers | no | header values |
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
<result name="success" type="header"> <param name="status">204</param> <param name="headers.a">a custom header value</param> <param name="headers.b">another custom header value</param> </result> |