spring-framework / org.springframework.web.servlet.view / DefaultRequestToViewNameTranslator / setStripLeadingSlash

setStripLeadingSlash

open fun setStripLeadingSlash(stripLeadingSlash: Boolean): Unit

Set whether or not leading slashes should be stripped from the URI when generating the view name. Default is "true".