This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes Java in General 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


JavaRanch » Java Forums » Java » Java in General
Bookmark "Getting referer from the header" Watch "Getting referer from the header" New topic
Author

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.

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

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’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Getting referer from the header
 
It's not a secret anymore!