I am attempting to invoke a javascript call which is location.reload();
when a button is pressed. This function works as expected, now the problem is that I am using a JSP page and the entire url is not found in the location so what is happening is location.reload();
is sending me back to my homepage.
For example
alert(location); // ouput: www.server.com/site/servlet/page
If I press f5 on my browser it will reload the page as I expect it to
I would like to reload the same page