-1

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

4

1 回答 1

0

最后在这个 BI 应用程序中找到了一些专有的 javascript 调用来刷新页面。谢谢您的帮助

于 2013-09-16T19:43:17.117 回答