Hi All,
I have a scenario, where I currently on the page (say: www.abc.com/forummodules/2010/abc/index.html) and then I click a url (say: www.abc.com/forummodules/2010/report.html?param1=xyz) and if the user is not logged in then he/she is redirected to login page (say: www.abc.com/forummodules/login) before being directed to actual url.
Now the in address bar it shows url: www.abc.com/forummodules/2010/report.html?param1=xyz but I am on login page actually.
I want that address in the url i.e www.abc.com/forummodules/2010/report.html?param1=xyz
when I do request.getRequestedURL() I get www.abc.com/forummodules/login?param1=xyz
doing javascript i can get that required address (using: window.location.href) but is there any way in java to achieve this
Thanks in advance
- dp