21 June 01
Thanks Bill K. I need a server-wide solution. It seems to me that utilizing
the "addHeader" or "setHeader" methods would work, but I'm looking for a
solution similar to adding to the conf file in Apache.
Joe Dalessandro
---------------
e: [EMAIL PROTECTED]
-----Original Message-----
From: William Kaufman [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 12:21 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Adding data to HTTP header responses?
http://java.sun.com/products/servlet/2.2/javadoc/index.html
Look for "Header" in javax.servlet.http.HttpServletRequest and
javax.servlet.http.HttpServletResponse.
-- Bill K.
-----Original Message-----
From: Joe Dalessandro [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, June 20, 2001 10:39 AM
To: [EMAIL PROTECTED]
Subject: Adding data to HTTP header responses?
2001-06-20
Hello
I am in the process of making our site P3P compliant. We are running Tomcat
3.2.2 on a Linux box. I am looking for information regarding adding data to
HTTP header responses(see example below). One of the aspects of P3P
compliancy is referencing where a Policy is located and referencing the
"Compact Policy" via the "CP" tag. I need to add these values and as I am
new to Tomcat I need know where to find the header information.
<!-- example -->
HTTP/1.1 200 OK
P3P: policyref="http://somesite.com/P3P/PolicyReferences.xml",
CP="NON DSP COR CURa ADMa DEVa CUSa TAIa OUR SAMa IND"
Content-Type: text/html
Content-Length: 8104
Server: ...
...content...
<!-- end example -->
Any suggestions would be appreciated.
Joe Dalessandro
---------------
e: [EMAIL PROTECTED]