This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes Servlets and the fly likes Getting referer from the header Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Getting referer from the header" Watch "Getting referer from the header" New topic

Getting referer from the header

Fedor Smirnoff
Ranch Hand

Joined: Apr 21, 2003
Posts: 45
Hi I have a flash file that makes a call to my servlet remotly. I am trying to extract the URL from the header using request.getHeader("referer") but I cannot get it, always come up Null. Any ideas how I can do it. Apperantly I can only get Header if the link was actually clicked on and not used within flash.

[ December 01, 2004: Message edited by: Fedor Smirnoff ]
Jessica Sant

Joined: Oct 17, 2001
Posts: 4313

i'm moving this to the servlets forum where the javax.servlet.* package gets discussed quite frequently.

Please post your replies there. Thanks!
I agree. Here's the link:
subject: Getting referer from the header
It's not a secret anymore!