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:[EMAIL PROTECTED]]
>>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:[EMAIL PROTECTED]>
>For additional commands, e-mail:
><mailto:[EMAIL PROTECTED]>
>
>--
>To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
>For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>
>
>  
>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to