BBjspPageContext::getContextName (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 16.0 and higher, this method returns the name of the current BBjspPageContext

Syntax

Return Value

Method

String

getContextName()

Parameters

None.

Return Value

the context name

Remarks

None.

Example

This example demonstrates how this works in a BBJSP web-page

<%@ taglib uri='/WEB-CFG/tld/core.tld' prefix='c' %>
<html>
    <body>
        <h1>Hello from BBJSP</h1>
        <h3><%= #PageContext!.getContextName() %></h3>
    </body>
</html>

See Also

BBJSP

BBjspPageContext