response.sendRedirect Vs window.location.href
hi
i have used response.sendRedirect in my application for redirecting ,when i have deployed the application on Tomcat server, ':8000' is appended in the URL automatically,but when i changed it to window.location.href ( through javascript),its working fine,
Can anyone tell me ,wots the possible cause of this issue.

