tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Padhu Vinirs <p.pa...@verizon.net>
Subject Re: trivial question...
Date Mon, 07 Oct 2002 13:17:11 GMT

Then what is the use of "setHeader/addHeader" methods ? I dont 
understand how these values can be retrieved ?

-- padhu

Cox, Charlie wrote:

>are you printing the headers in your servlet? If so, then no the response
>headers will NOT be included in the request to your servlet. 
>
>Charlie
>
>  
>
>>-----Original Message-----
>>From: Padhu Vinirs [mailto:p.padhu@verizon.net]
>>Sent: Saturday, October 05, 2002 3:18 PM
>>To: Tomcat Users List
>>Subject: trivial question...
>>
>>
>>
>>Tomcat 4.1...
>>
>>I print all the header values. Then I set a new header value 
>>( response. 
>>setHeader ) in the service method. When I  refresh the page 
>>shouldnt the 
>>set header value be part of the printed header values ??? I am not 
>>seeing this value. Arent  header values persisted for the session ?
>>
>>// print all headers...
>>
>>// if header not defined, then set new header name/value.
>>
>>Run this once. Then refresh the page again. Shouldnt the 
>>name/value be 
>>part of the output now.
>>
>>Thanks
>>
>>-- padhu
>>
>>
>>
>>
>>--
>>To unsubscribe, e-mail:   
>>    
>>
><mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail:
><mailto:tomcat-user-help@jakarta.apache.org>
>
>--
>To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>
>
>
>  
>



--
To unsubscribe, e-mail:   <mailto:tomcat-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:tomcat-user-help@jakarta.apache.org>


Mime
View raw message