onStartup

abstract fun onStartup(servletContext: ServletContext)

Configure the given ServletContext with any servlets, filters, listeners context-params and attributes necessary for initialization.

Parameters

servletContext

the ServletContext to initialize

Throws

ServletException

if any call against the given ServletContext throws a ServletException