Separate Servlet in Vaadin Spring Boot application?

I have a Vaadin Spring Boot application, and now I want to add a separate servlet which shall be accessed via /somepath. (Actually, it doesn’t have to be a servlet, could also be a Spring Boot Actuar endpoint or whatever - I just need access to the HTTP request and response.)

Could someone point me to a tutorial or a working example?


Hi Gunnar

You could create a [Spring Controller]
( for this.

Thanks Kaspar, simple enough and works fine!