Java learner
Java learner

Reputation: 11

Is there any way to hide the JBOSS version when error message is thrown

I want to know if there is any way to hide the JBOSS Version string when an error message is thrown. See the screenshot for reference.

JBOSS_Error_screenshot

Upvotes: 0

Views: 2038

Answers (1)

Sampada
Sampada

Reputation: 2991

You can customize the JBoss error page by either adding your own application level error page by making an entry in web.xml -

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

You can also do this using server side configuration as described here: http://middlewaremagic.com/jboss/?p=1334

Upvotes: 1

Related Questions