1

Anyone know how I can remove or change the message the user sees when a webpage fails. Currently it shows the error message plus "#badassfish", which I do not want the customer to see. I would prefer to change that or remove it. In D:\payara5\glassfish\config\branding\glassfish-version.properties I found the #badassfish in a line identifying it as a version_suffix. Does anyone know if I can change or delete #badassfish? Thanks.

1 Answer 1

1

You can delete the #badassfish from the version.properties file, which will remove it from the error pages.

Additionally you can create a custom error page and set it to be using the web.xml file, i.e.:

<error-page>
    <error-code>404</error-code>
    <location>/Error404</location>
</error-page>

Which will use the resource at that endpoint if the user encounters an error.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.