its the http_referrer environment variable, available as a request attribute
I think..
> -----Original Message-----
> From: teh j [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, April 15, 2001 11:57 AM
> To: [EMAIL PROTECTED]
> Subject: obtaining the url
>
>
> Hi guys
>
> Just wondering if there is a way for a JSP to get the
> URL of the web page that it was accessed by?
> EG say you are at page2.jsp and u got here by clicking
> on a link at page1.jsp, is there a way to retrieve the
> fact that you arrived at page2.jsp by clicking from
> page1.jsp?
>
> Jason
>
> __________________________________________________________________
> ___________
> http://movies.yahoo.com.au - Yahoo! Movies
> - Now showing: Dude Where's My Car, The Wedding Planner, Traffic..