Do 301 Redirect Using JSP/JAVA


Add this code to the site page or script

Java:
<%
response.setStatus(301);
response.setHeader( “Location”, “http://www.blazedream.com/blog” );
response.setHeader( “Connection”, “close” );
%>

+ There are no comments

Add yours