I have an extra servlet I need to register in my application. However with Spring Boot and its Java Config, I can\'t just add servlet mappings in a web.xml file
web.xml
Just add a bean for the servlet. It'll get mapped to /{beanName}/.
/{beanName}/
@Bean public Servlet foo() { return new FooServlet(); }