Hello Friends,
I want to show one page for 5 seconds and after that i want to redirect the page to another URL.
Got the code snippet for 301 redirection in
JSP .
<%
response.setStatus(301);
response.setHeader( "Location", "http://www.new-url.com/" );
response.setHeader( "Connection", "close" );
%>
Please let me know how to set the time delay.
Is there any way to set the time delay using response.setHeader() method.
Note: I checked the possible HTTP response headers but couldn't find one to acheive this.
The above can be acheived using meta tag or script language but i want to do it in server side.
Is it possible?