BBjspPageContext::getJettyContext (Deprecated)

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

Description

In BBj 16.0 and higher, this method returns the BBjJettyContext associated with the BBjspPageContext.

Syntax

Return Value

Method

BBjJettyContext

getJettyContext()

Parameters

None.

Return Value

the current BBjJettyContext

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>
<%
    declare BBjJettyContext context!
    context! = #PageContext!.getJettyContext()
%>
        <h3><%= context!.getDocBase() %></h3>
    </body>
</html>

See Also

BBJSP

BBjspPageContext

BBjJettyContext