954,600 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Refreshing a page in jsp if the browser does not support javascript.

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.

Abinaya Infy
Newbie Poster
1 post since Dec 2010
Reputation Points: 10
Solved Threads: 0
 

1. I think you need to redirect that jsp page to itself.

2. What window??

Eric Cute
Posting Whiz in Training
252 posts since Jun 2010
Reputation Points: 55
Solved Threads: 20
 
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 );
Shanti C
Posting Virtuoso
1,642 posts since Jul 2008
Reputation Points: 137
Solved Threads: 162
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: