> when you use a redirect in a servlet is there some way to get the address of
> the page it redirected from.
You could check the Referer header:
request.getHeader("Referer")

Signature
Sean
Oliver Wong - 24 May 2006 22:03 GMT
>> when you use a redirect in a servlet is there some way to get the address
>> of
[quoted text clipped - 3 lines]
>
> request.getHeader("Referer")
Note though that this info comes from the client, who can lie to you. So
don't count on it for security purposes; only use it to provide a convenient
but non-critical feature to the user.
- Oliver