>I assume that the above method call doesnot have a uniform behaviour.
It has a uniform behaviour.
> Could you guys throw some light on the above method.
> It just keeps returning null.
The Referer header field tells the address of the resource from which the
request-uri
was obtained. So you wont get a referer field value for a resource that you
typed in
manually, which i think u are doing. Try having a hyper link to ur
jsp/servlet from
a HTML page. Now if u check referer value u should get address of the HTML
page ,
which is its referer.
-Shiraz
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets