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

Error pages cannot be accessed when BRJS is serving files #1502

Closed
JamesSeymour opened this issue Aug 13, 2015 · 1 comment
Closed

Error pages cannot be accessed when BRJS is serving files #1502

JamesSeymour opened this issue Aug 13, 2015 · 1 comment
Labels
Milestone

Comments

@JamesSeymour
Copy link

In our web.xml we specify error pages as follows:

<error-page>
    <error-code>404</error-code>
    <location>/WEB-INF/error-pages/404.html</location>
</error-page>

When attempting to load page that doesn't exist it does not load the correct 404 error page, and you get the following error:

HTTP ERROR 404
Problem accessing /APPNAME/WEB-INF/error-pages/404.html. Reason:
Not Found
Powered by Jetty://

This correctly works when a war is generated, but not using BRJS to serve.

@andy-berry-dev andy-berry-dev changed the title Error pages cannot be accessed with BRJS is serving Error pages cannot be accessed when BRJS is serving files Aug 14, 2015
@andy-berry-dev
Copy link
Member

This is fixed by #1503. The default servlet handles the error request and was always 404ing instead of using the server configured error pages.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants