Hello All,
Is there any way for me to get back the HTTP Response Headers using the J2EE framework in the format as given below ? I have a Filter which gets me the Request headers but I want to get the corresponding Response Headers also. Can it be done ?
HTTP/1.1 200 OK
Date: Mon, 19 Oct 2004 22:12:57 GMT
Pragma: no-cache
Server: WebLogic WebLogic Server 6.1 SP1 09/18/2001 14:28:44 #138716
Content-Length: 297
Content-Type: text/html
Expires: Thu, 01 Dec 2004 16:00:00 GMT
Set-Cookie: SessionID=null; path=/
Set-Cookie:
JSESSIONID=O1mD6qo4DcTRQPV3IuQFKR2TBiANadyyzQG2WqsRLOuyPjIABhPQ!1713637281!-
1073741567!7001!7002; path=/
Cache-Control: no-cache, post-check=0, pre-check=0
Thanks