Hi all,
I have two questions.
1) How to refresh a page in jsp even if the javascript is not supported by the browser or if it is disabled?
2) How to get the path of the window in js?
Thanks in advance.
Hi all,
I have two questions.
1) How to refresh a page in jsp even if the javascript is not supported by the browser or if it is disabled?
2) How to get the path of the window in js?
Thanks in advance.
1. I think you need to redirect that jsp page to itself.
2. What window??
2) How to get the path of the window in js?
var path = document.location.pathname;
alert (path);
1) How to refresh a page in jsp even if the javascript is not supported by the browser or if it is disabled?
window.location.reload( false );
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.