check page link

i have some pages in my web app.when a user click on the "home" link i'm using navigation-role to redirect him to the asking page.i want to know from which page the user asked for the home page, is there a way to do this?thanks in advanced.
[269 byte] By [ppl1a] at [2007-11-27 6:15:16]
# 1
You want to know the referrer?You can use HttpServletRequest#getHeader("referer"). Keep in mind that some user agents can disable sending the referrer along with the headers. If you want to be safe, store the URL on every request in session.
BalusCa at 2007-7-12 17:25:39 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...