I resolved one with web.xml.
But I have two more issues.
In the Response Header
A way to test is to call GET or POST with any URI (ex. GET /devtest/test ).
1. There is "Server" information in Response Header.
: Server: Jetty(9.3.z-SNAPSHOT)
2. There is "error number" like 404 Not Found. \
: HTTP/1.1 404 Not Found
: I need the error page redirection like this
<error-page>
<error-code>404</error-code>
<location>/error404.jsp</location>
</error-page>
--------------------
Response headers:
HTTP/1.1 404 Not Found
Date: ...
Content-Security-Policy ...
X-Content-Type-Options: nesniff
X-XSS-Protection: ...
X-Application-Context: ...
Content-Type: ...
Transfer-Encoding: ....
Server: Jetty(9.3.z-SNAPSHOT) ...
--------------------
According to the customer's security policy, all HTTP response should not show those information. I tried many things, but I couldn't find the resolution.
Can you help and if you don't know, can you ask these to dev team? This issue is a mandatory item I should change.
Please help me.