How to set Header variables through Jsp
843838Aug 22 2005 — edited Aug 23 2005Hi,
Can anybody help me with the code.
I need to send user id in http header variable from jsp to a third party tool, which will read user id from the http header.
i am tryng to test if ui can set the variable using th efollowing code
<%response.addHeader("REMOTE_USER" ,"user1"); %>
and to get that i am using response.getHeader("REMOTE_USER");
The header variable is not set.
can you let me know if is possible , can we set user defined header variables??
Any help will be highly appreciated
Thanks in advance