Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add custom error page (404) for WAR/SpringBoot/Quarkus #3407

Open
grgrzybek opened this issue Apr 24, 2024 · 1 comment
Open

Add custom error page (404) for WAR/SpringBoot/Quarkus #3407

grgrzybek opened this issue Apr 24, 2024 · 1 comment
Assignees
Milestone

Comments

@grgrzybek
Copy link
Contributor

See: #3405 (comment)

#3405 removes custom error page (404 → index.html) from web.xml. This was a tricky way to handle client-side route URLs by returning index.html when user refreshes browser with URL like http://localhost:8080/hawtio/jmx.

The problems are:

#3405 adds new ClientRouterRedirectFilter which handles this better, but indeed it'd be nice to have proper, consistent error page handling.

@grgrzybek
Copy link
Contributor Author

Also we should probably handle ALL errors/exception, so server-specific page is not returned.

@tadayosi tadayosi added this to the 2024Q2 milestone Apr 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Todo
Development

No branches or pull requests

2 participants