I want to use the custom request header in JSP How can I use that

Hi Guys,
I have following scenerio...
1: There is one third party tool which is calling my.jsp page from the specified directory.
2: Before calling the JSP that third party tool is adding some data like <user name> and <password > in the header of that JSP.
Problem: I am not getting thos custom added header in side the JSP.
Header information is given below:
http://localhost:8100/wvsat/brand/ncr/auto.jsp
GET /<APPLICATION_NAME>/ <JSP_PAGE_NAME>.jsp HTTP/1.1
Host: localhost:8100
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-us,en;q=0.5
Accept-Encoding: gzip,deflate
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Keep-Alive: 300
Connection: keep-alive
Cookie: AreCookiesEnabled=195; JSESSIONID=2a30e33e48384dd13222
MyUsername: demo*
MyPassword : demo*
HTTP/1.x 200 OK
Date: Wed, 24 Sep 2008 19:42:22 GMT
Content-Type: text/html; charset=UTF-8;application/x-www-form-urlencoded
Connection: close
Server: JRun Web Server
Now within the JSp page i want the value of MyUserName and MyPassword
For gettting these value i am using the request.getHeader(MyUserName);But it is returning null.
Note:+*
1: I want to forward this value to another servlet which is based on Struts framework_.
2: For adding the value in the header i am using Http Live header Addons of FireFox_
Could anyone help me in the same!!!
Thanks in Advance

Sorry, perhaps I was not explicit enough.
Your code snippet: request.getHeader(MyUserName);
It was missing quotes to make it a String value.
If that is what you have, then it is using the VARIABLE MyUserName, and not the actual value "MyUserName"

Similar Messages

Maybe you are looking for

  • Ipod to tv  issue

    Jeff/anyone, I can't get videos on my New 80g ipod classic to play on my tv. I have the AV composite cable from APPLE and all of my settings are set correctly. I have tried every thing and have even talked to Apple Customer Service. After an hour and

  • Any special considerations using Win 7 in Mavericks with Parallels

    Just wondering -- I'm going to, I think, move up to Win 7 home premium edition because XP is no longer supported; it's on my bootcamp partition and I use that for parallels. Any problems or specail considerations when using parallels with Win 7?  I'm

  • Tax not calculating for loss of pay on the reduced basic pay

    Hi Experts, We have an employee who has LOP for five days and hence the basic pay is reduced. However for tax calculation the system is not considering the reduced basic pay, it is considering the actual basic pay. Eg Employee X has 5 day Loss Of Pay

  • Effects don't work

    I've never had this problem before, but now for some reason, I can't add effects. After I click "Apply", the thumbnail turns white and the clip becomes the next clip. I have iMovie HD 6.0.3 on a MacBook. Please help! I need my effects!

  • WEP password from my iMac G4 flatscreen not support by Time Capsule

    Hello, I've just installed my new Time Capsule (dual band) today in combination with my new MacBook Pro. It all works fine, however I also have an 'old' iMac G4 17" flatscreen and here is the problem: although I use Mac OS X 10.4.11 I can't connect t