tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Dalessandro <...@situpartners.com>
Subject RE: Adding data to HTTP header responses?
Date Thu, 21 Jun 2001 20:16:09 GMT
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: jad@situpartners.com 



-----Original Message-----
From: William Kaufman [mailto:WKaufman@viquity.com]
Sent: Wednesday, June 20, 2001 12:21 PM
To: 'tomcat-user@jakarta.apache.org'
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:jad@situpartners.com]
Sent: Wednesday, June 20, 2001 10:39 AM
To: tomcat-user@jakarta.apache.org
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: jad@situpartners.com

Mime
View raw message