Well yes, but that's because Spring is built on top of Java Servlets.
I wonder if other Java frameworks have a different approach to serve web content without the need of servlets.
I wonder if other Java frameworks have a different approach to serve web content without the need of servlets.
Most Java frameworks are at least compatible with the micro-profile subset.