users@glassfish.java.net

Re: Problem with Request Header Referer

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Thu, 20 Nov 2008 13:17:45 -0500

Salut,
glassfish_at_javadesktop.org wrote:
> I have a web application in which a javascript sends a request which contains referer header. I am not able to receive this header in a servlet filter when I try to do httpServletRequest.getHeader("referer"). I tried Referer as well and it does not work.
>
> Upon printing all the headers and their values, I found out that the referer header appears as "-------" and its value also is something like ----:-----------:--------------
>
> I am setting the referer header as
>
> Referer http://localhost:8080/index.jsp (seen from firebug console)
>
> I am wondering how I can get the Referer header?
> Thanks

Can you send me a test that reproduce the issue? Which GF version are
you using?

Thanks

-- Jeanfrancois


> Ajit
> [Message sent by forum member 'bhate' (bhate)]
>
> http://forums.java.net/jive/thread.jspa?messageID=317903
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>