10. HTML
[html] html,jsp,php,asp redirect - 언어별 리다이렉트 방법
자르르
2015. 12. 9. 13:32
- HTML
<meta http-equiv=Refresh content=0;url="URL">
- Javascript
location.href="URL";
- ASP
<% RESPONSE.REDIRECT "URL" %>
- PHP
<? header("Location: URL"); exit; ?>
또는
echo "<meta http-equiv='refresh' content='0;url=URL'>";
- JSP
<% response.sendRedirect("URL"); %>