spring-framework / org.springframework.web.servlet.mvc / ServletForwardingController / setServletName

setServletName

open fun setServletName(servletName: String): Unit

Set the name of the servlet to forward to, i.e. the "servlet-name" of the target servlet in web.xml.

Default is the bean name of this controller.