BBjspWebResponse::addHeader (Deprecated)
The BBJSP system is deprecated. For new development, use BBxServlet.
Description
In BBj 16.0 and higher, this method returns a boolean indicating whether the named response header has already been set.
Syntax
Return Value |
Method |
void |
addHeader(string name, string value) |
Parameters
Variable |
Description |
name |
Specifies the name of the header. |
value |
Specifies the value for the header. |
Return Value
None.
Remarks
The example below shows how to add a new header.
Example
This example demonstrates how this works in a BBJSP web-page
<html> |
This example demonstrates how this works in a BBJSP servlet
class public MyServlet |