Re: servlet redirect



On Tue, 23 May 2006 11:57:45 +1000, Bob wrote:

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")

--
Sean


.