We have an old web application , We added some new pages and some of the pages we want to do a redirect . We noticed doing a redirect somehow the url is changing in the sense , I have a jsp which does a redirect below is the code
url for this page is http://mycompany.com/myapp/index.jsp
upon calling http://mycompany.com/myapp/index.jsp the next page should be http://mycompany.com/myapp/app/home
but surprising its turning to http://mycompany.com/myappapp/home
notice that its loosing the forward slash immediately after context root.
Please advice me how can we debug this what could be causing this change in url , we dont have any servlet or filter or wrapper which is comming in picture for redirect, please advice us.
Edited by: user11138293 on Feb 1, 2012 12:31 PM