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?

Thanks,
Gunnar

Hi Gunnar

You could create a [Spring Controller]
(https://www.baeldung.com/spring-controller-vs-restcontroller) for this.

Thanks Kaspar, simple enough and works fine!