I'm trying to do a redirection using Javascript on Tomcat 5.0.24
(standalone, no apache server).
The code redirects index.html to login.htm. Here is what I have:
script language=JavaScript
location.replace('login.htm');
/script
When I do this, it appears to go into a near-endless loop
I'm trying to do a redirection using Javascript on Tomcat 5.0.24
(standalone, no apache server).
The code redirects index.html to login.htm. Here is what I have:
script language=JavaScript
location.replace('login.htm');
/script
When I do this, it appears to go into a near-endless loop