how do you detect url redirects when connecting to a URL

how do you detect url redirects when connecting to a URL?Thanks in advance stev
[107 byte] By [stephensutherland] at [2007-9-27 15:38:55]
# 1
Hai (i) If it a jsp we can get the URL by request object. LikeString url = request.getHeader("Referer");u can do it in Servlet aslo by request object variable.If this explanation is not ok, Explain ur doubt in more briefed Manner
sp_kasi at 2007-7-5 23:41:07 > top of Java-index,Archived Forums,Java Programming...
# 2
thanks I figured it out . posted way too soon.Stephen
stephensutherland at 2007-7-5 23:41:07 > top of Java-index,Archived Forums,Java Programming...