I have to set a value in the http header and I know how to do this in a servlet but I'm not sure how to do so in a JSP. I am basically trying to implement Single Sign On within a product called Vignette. I control what is passed to the Vignette proxy server (TAS) URL. I have attached the TAS class that handles authentication into Vignette. It is called HttpUserNameCallback. Save the file as .java Please just refer to the getUserName() method in this class as it is called first. I tried to post the variable sm_user within a form post in JSP (below). This does not work. I've been instructed that sm_user must be present in the HTTP REQUEST HEADER. I'm not sure how to do so. My JSP code is below. Please help!!! I've been at this for 3 1/2 weeks and I'm finally at the end but need to cross the line here.
<form name="postform" method="post" action="http://q4csp1m3.tdc.cingular.net:8001/AppConsole/">
<input type="hidden" value="<%=attVal%>" name="sm_user" />