BBjJettyContextConfiguration::removeJavaServlet


Description

In BBj 15.0 and higher, this method removes the BBjJavaServletConfiguration for the specified servlet

Syntax

Return Value

Method

void

removeJavaServlet(BBjJavaServletConfiguration servlet)

Parameters

Variable

Description

servlet

the Java servlet to be removed

Return Value

None.

Remarks

None.

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()

servlet! = root!.getJavaServlet("com.wibble.SomeServlet","*.xxx")
root!.removeJaveServlet(servlet!)
config!.saveConfig()

See Also

BBjAPI

BBjJettyContextConfiguration

BBjJavaServletConfiguration