Using Javascript to Redirect from one Web page to Another

This is one way to automatically redirect from one Web page to another, using Javascript: (thanks to Laxminarayanan Ethiraj).

<html>
   <head>
   <title>some title</title>
   <script>
     function redirect_url(){
       window.location.href='http://abc.ny.ssmb.com:12345/ABC/index.jsp';
     }
   </script>
   </head>
   <body onLoad="javascript:redirect_url()">
   </body>
</html>