BBjspCommandConfig::setInputPage (Deprecated)

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

Description

In BBj 17.01 and higher, this method sets the input-page of the BBjspCommand.

The input page can be used to ensure that only that page can post to the BBjspCommand.

Syntax

Return Value

Method

void

setInputPage(string page)

Parameters

Variable

Description

page

the input page

Return Value

None.

Remarks

None.

Example

declare BBjAPI api!
declare BBjAdmin admin!
declare BBjJettyServerConfiguration config!
declare BBjJettyContextConfiguration context!
declare BBjspCommandConfig commandCfg!

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

commandCfg! = context!.getCommandConfig("FOO")
commandCfg!.setPage("foo.bbjsp")

config!.saveConfig()

See Also

BBjspCommandConfig