tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cox, Charlie" <c...@cincom.com>
Subject RE: trivial question...
Date Mon, 07 Oct 2002 13:35:41 GMT
you don't need to retrieve them. The browser(and any proxy along the way)
will use them in rendering/caching the page.

Charlie

> -----Original Message-----
> From: Padhu Vinirs [mailto:p.padhu@verizon.net]
> Sent: Monday, October 07, 2002 9:17 AM
> To: Tomcat Users List
> Subject: Re: trivial question...
> 
> 
> 
> 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>

--
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