BBjspServletConfiguration::clearParams (Deprecated)

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

Description

In BBj 17.0 and higher, this method clears all configured servlet parameters.

Syntax

Return Value

Method

void

clearParams()

Parameters

None.

Return Value

None.

Remarks

None.

Example

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

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

servletConfig! = root!.getBBjspServlet("/myservlet")

servletConfig!.clearParams()

config!.saveConfig()

See Also

BBjspServletConfiguration