we are using Jboss AS 6.0. This approach was working fine for the valid context-root of Jboss.
Say, I have the context-root for Jboss configured as '/abc'. Headers are being returned for all the GET requests made for the URL http://ip:port/abc/
Now, am expecting these configured headers to be returned for '/' context-root
For example, if I do a curl -i http://ip:port/ , I will get a response as shown below without the headers.
HTTP/1.1 404 Not Found
X-Powered-By: Servlet/3.0; JBossAS-6
Date: Wed, 31 Jul 2019 06:49:06 GMT
How to add the headers for these requests too?
Thanks in advance.