BBjJettyContextConfiguration::getDocBase


Description

In BBj 15.0 and higher, this method gets the docbase for the Jetty Context

Syntax

Return Value

Method

String

getDocBase()

Parameters

None.

Return Value

the docbase

Remarks

The docbase is the location of static content that should be accessible. The static content can include html files, images, style-sheets or indeed any file you need to serve within the context.

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration root!

api! = BBJAPI()
admin! = api!.getAdmin("admin","admin123")
config! = admin!.getJettyServerConfig()
root! = config!.getRootContextInfo()

print root!.getDocbase()

See Also

BBjAPI

BBjJettyContextConfiguration