I think this is applies 2.x as well :
http://blogs.oracle.com/alexismp/entry/chameleon_glassfish_x_powered_by
-Alexis
On 23 juin 2011, at 09:18, forums_at_java.net wrote:
> Hi,
>
> I need urgent help.
>
> I am using Glassfish version 2.1.1
>
> Here is my problem, the http response displays "Server: Sun GlassFish
> Enterprise Server v2.1.1", which is security issue.
>
> How to diable this?
>
> I need to fix this as soon as possible.
>
> Please help... following is the trace of what was done.
>
>
>
> telnet 192.168.5.41 8080
>
> Trying 192.168.5.41...
>
> Connected to 192.168.5.41 (192.168.5.41).
>
> Escape character is '^]'.
>
> GET / HTTP/1.0
>
>
>
> HTTP/1.1 200 OK
>
> X-Powered-By: Servlet/2.5
>
> Server: Sun GlassFish Enterprise Server v2.1.1
>
> ETag: W/"2842-1268821320000"
>
> Content-Type: text/html
>
> Content-Length: 2842
>
>
>
>
>
>
> --
>
> [Message sent by forum member 'vivekmv2000']
>
> View Post: http://forums.java.net/node/815111
>
>