반응형
셋 중 하나 쓰면 됨.
1. 태그로 이동시킨다
<meta http-equiv="refresh" content="대기시간; url=http://naver.com">
2. 스크립트로 이동 시킨다.
<script type="text/javascript">location.href="http://naver.com" ;</script>
3. 헤더로 이동시킨다.
php
<?php header("location: http://naver.com"); ?>
asp
response.redirect "main/frame.html"
jsp
response.sendRedirect("http://www.daum.net");
반응형