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
Also available is the ServletRegistrationBean
ServletRegistrationBean
@Bean public ServletRegistrationBean servletRegistrationBean(){ return new ServletRegistrationBean(new FooServlet(),"/someOtherUrl/*"); }
Which ended up being the path I took.