To secure the Jetty server from malicious attacks, it is necessary to hide its
version information.
Procedure
-
Go to the etc directory and open the
jetty.xml file to edit it.
-
For the class
org.eclipse.jetty.server.Server
,
add:
<Set name="sendServerVersion">false</Set>