Currently I’m doing a sample project where I’m trying to configure Undertow server to use Spring MVC model.
I’m able to register dispatcher servlet, context listeners, and able to configure application so that I can use spring controllers instead of servlets to process requests from browsers. So I can return JSON/XML or Plain text if I use RestController.
The thing where I’m currently stuck is I’m not able to serve a static content and cannot configure a Spring’s view resolver to return a view instead of plain text.
PS - I’m using Undertow as embedded server into my application and producing a standalone executable jar as a build output.
Thanks,
Aditya Sanas