DaveP,
You could use the 'referer' header, eg.
String referedURL = request.getHeader("referer");
Note that the String is null if the header isn't present which usually indicates that the user typed the URL in their browser.
Hope this helps!
-- Mike Fowler Registered Linux user: 379787
"I could be a genius if I just put my mind to it, and I, I could do anything, if only I could get 'round to it"
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]