spring-framework / org.springframework.web.servlet.resource / DefaultServletHttpRequestHandler / setServletContext

setServletContext

open fun setServletContext(servletContext: ServletContext): Unit

If the defaultServletName property has not been explicitly set, attempts to locate the default Servlet using the known common container-specific names.