Currently I am working in angular js and j2ee frameworks.
Currently I am http:something.com/home/#/main
But if i am redirect the above url from java servlet using response.sendRedirect("http:something.com/login/")
It redirects me to the page but in browsers url "#/main" remains even after redirecting like below....
http:something.com/login/#/main.
I don't want that angulars state after my redirection.
Thanks in advance