Remove X_POWERED_BY Header in JBoss EAP6

First you have to disable it in standalone.xml by adding jsp-configuration x-powered-by=”false”. Here┬áthe relevant part of my config:

Or with cli:

In a JSF application you have to add the following context param:

Then start your server and the header should be gone.

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.