Reputation: 11
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.
Upvotes: 0
Views: 2038
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