aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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!
 
wood burning stoves
 
subject: Getting referer from the header
 
Similar Threads
Getting referer from the header
How to get the URL of the page which redirected to our site ?
HttpServletRequest - get previous page url
request.getHeader("referer") with Flash
Storing the HTTP referer header on each visit