I am using Helidon MP 2.5.5, I have a simple JaxRS service that has three REST APIs that return the three different HTML pages e.g. login, change password and reset password pages. Now, I want to migrate this service on the Helidon MP 2.5.5 and need to achieve similar behaviour either with the use of REST APIs or by setting three different URLs in the config.
I found the StaticContentSupport example but it looks like only a single HTML page can be set at the root level, is there any way I can set these three different URLs which will return three different pages? e.g.
- Path: /ui-service/login, corresponding HTML page: login.html,
- Path: /ui-service/changePassword, corresponding HTML page: change-password.html,
- path:/ui-service/resetPassword, corresponding HTML page: reset-password.html.
I have tried the static content support example added simple index.html in the resources WEB directory and it is working as exepcted.. but didnt find any option to add mulitple HTML pages with the different URLs..
server.static.classpath.location=/WEB server.static.classpath.welcome=index.html