mriggins
06-25-2007, 12:25 PM
Hello everyone. I hope someone here can help me, or at least tell me what I need to do can't be done!
Here is my situation: I have a .war file that calls an index.html file from a shared directory. That works great, but unfortunately the c: drive on my server is running low on space, so the server admin wants my shared directories to be moved to the d: drive. I have modified the index.html file on the c: drive being accessed by my .war file to load another index.html file on the d: drive, but it is not working. I have tried
<BODY onLoad="document.location.href='d:\index.html'">
and
<SCRIPT LANGUAGE="JavaScript"><!--
function go_now () {
location.href = "D:/index.html";
}//-->
</SCRIPT></HEAD>
<BODY onLoad="go_now ()">
Any ideas? Thanks!
Here is my situation: I have a .war file that calls an index.html file from a shared directory. That works great, but unfortunately the c: drive on my server is running low on space, so the server admin wants my shared directories to be moved to the d: drive. I have modified the index.html file on the c: drive being accessed by my .war file to load another index.html file on the d: drive, but it is not working. I have tried
<BODY onLoad="document.location.href='d:\index.html'">
and
<SCRIPT LANGUAGE="JavaScript"><!--
function go_now () {
location.href = "D:/index.html";
}//-->
</SCRIPT></HEAD>
<BODY onLoad="go_now ()">
Any ideas? Thanks!