S
sconeek
hi all,
I am trying to re-direct a html page to the root of a server (eg.
localhost:8080/index.html). However the problem is that I dont want to
hard code the name of the server (localhost) as it will change
periodically. I want to reference just the server name (whatever it is)
and then the port no and then the file name. I hope we can achieve this
using Javascript.
So far I have written:
<META HTTP-EQUIV="REFRESH" CONTENT="3;
URL=http://localhost:8080/index.html">
can some genius help me with this.
thanks in advance.
I am trying to re-direct a html page to the root of a server (eg.
localhost:8080/index.html). However the problem is that I dont want to
hard code the name of the server (localhost) as it will change
periodically. I want to reference just the server name (whatever it is)
and then the port no and then the file name. I hope we can achieve this
using Javascript.
So far I have written:
<META HTTP-EQUIV="REFRESH" CONTENT="3;
URL=http://localhost:8080/index.html">
can some genius help me with this.
thanks in advance.