Re: request.getHeader() gives null

2006-02-08 Thread Anoop kumar V
Thanks a lot to both David Smith and Yue Mu - I am exploring other options of setting values. Also someone else has suggested that I use POST from a form - i willl try that too - thanks a ton, Anoop Kumar V. On 2/5/06, David Smith [EMAIL PROTECTED] wrote: Anoop -- Correct me if I'm wrong,

Re: request.getHeader() gives null

2006-02-05 Thread David Smith
Anoop -- Correct me if I'm wrong, but it looks like you are trying to set response headers on a 302 response and then expecting those headers to return on the next request. I can't find any information indicating this behavior is supported by the HTTP protocol. You are better off setting

Re: request.getHeader() gives null

2006-02-04 Thread Anoop kumar V
I would really appreciate if someone can answer my question.. Thanks, Anoop On 2/3/06, Anoop kumar V [EMAIL PROTECTED] wrote: HI All, I am using Tomcat5. I have a simple jsp displaying the header information that I have set in another jsp page. For some reason I can see all the default

Re: request.getHeader() gives null

2006-02-04 Thread Yue Mu
HI Anoop, Is it that the response of the first page becomes the request of the next jsp No - the next jsp gets the same request, which is the whole idea of forwarding a request. This is why you don't see the newly added headers (to the response!). I'm not sure what you