How about data.getRequest().getHeader("Referer") ?
Howard
On Wed, 29 Sep 2004 15:38:34 +0200, Ilan Azbel <[EMAIL PROTECTED]> wrote:
> This is not quote what I am looking for:
>
> > String query = data.getRequest().getQueryString();
> this code gets the variable QUERY_STRING, not HTTP_REFERER
>
> > String destination = data.getRequest().getRequestURI();
> I quote from the docs:
> "Gets, from the first line of the HTTP request, the part of this request's
> URI that is to the left of any query string".
>
> I thought this was going to be an easy question to answer, but obviously I
> was mistaken.
>
> I am specifically looking for the value of the HTTP_REFERER variable. Any
> further help would be appreciated.
>
> Thanks
> Ilan
>
>
>
>
> > -----Original Message-----
> > From: Tony Oslund [mailto:[EMAIL PROTECTED]
> > Sent: 29 September 2004 03:27
> > To: Turbine Users List
> > Subject: Re: Referrer variable
> >
> >
> > You can get the information you are looking for from the request object...
> >
> > String query = data.getRequest().getQueryString();
> > String destination = data.getRequest().getRequestURI();
> >
> > ----- Original Message -----
> > From: "Ilan Azbel" <[EMAIL PROTECTED]>
> > To: "Turbine Users List" <[EMAIL PROTECTED]>
> > Sent: Wednesday, September 29, 2004 7:55 AM
> > Subject: RE: Referrer variable
> >
> >
> > >I also see that this doesn't exatcly give me what I am looking for.
> > > I am looking for the contents of the HTTP_REFERER variable.
> > >
> > > Ilan
> > >
> > >
> > >> -----Original Message-----
> > >> From: J�rgen Hoffmann [mailto:[EMAIL PROTECTED]
> > >> Sent: 29 September 2004 02:36
> > >> To: Turbine Users List
> > >> Subject: Re: Referrer variable
> > >>
> > >>
> > >> Hi Ilan,
> > >>
> > >> HttpUtils.getRequestURL(RunData.getRequest());
> > >>
> > >> Kind regards
> > >> J�rgen Hoffmann
> > >>
> > >> Am Mi, den 29.09.2004 schrieb Ilan Azbel um 13:26:
> > >>
> > >> > Hello, I am using Turbine with Velocity.
> > >> >
> > >> > I am needing to get hold of the 'referrer' value (the value
> > >> that contains
> > >> > the URL of the web page from which the user has clicked).
> > >> >
> > >> > Which Turbine / Velocity class can I use to get hold of this?
> > >> >
> > >> > Thanks
> > >> > Ilan
> > >> >
> > >> >
> > >> > ---------------------------------------------------------------------
> > >> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > >> > For additional commands, e-mail: [EMAIL PROTECTED]
> > >> >
> > >> >
> > >> > !EXCUBATOR:415a9acb25903968274084!
> > >>
> > >> ---
> > >> Incoming mail is certified Virus Free.
> > >> Checked by AVG anti-virus system (http://www.grisoft.com).
> > >> Version: 6.0.769 / Virus Database: 516 - Release Date: 2004/09/24
> > >>
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> > ---
>
>
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.769 / Virus Database: 516 - Release Date: 2004/09/24
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]