users@glassfish.java.net

Re: RE: Obfuscation: How to disable optional http header fields in glassfish 3.0.1

From: <glassfish_at_javadesktop.org>
Date: Tue, 14 Sep 2010 12:08:56 PDT

Hi again,

The glassfish guys gave me the solution:
[b]
To get rid of "X-Powered-By:" for JSP pages, you'll need to set a JSP
compilation option to turn it off, since it is configured to be on by default in
V3. One way to do that is to edit the file
domains/domain1/config/default-web.xml to remove the entry

    <init-param>
      <param-name>xpoweredBy</param-name>
      <param-value>true</param-value>
    </init-param>

or set the param-value to to false.[/b]

I have tried it and I can confirm it works this way.
I will close this Thread.
[Message sent by forum member 'nabizamani']

http://forums.java.net/jive/thread.jspa?messageID=482758