Category: JSP

JSP 301 Redirect

<% response.setStatus(301); response.setHeader( "Location", "http://www.new-url.com/" ); response.setHeader( "Connection", "close" ); %>

 

How useful was this post?

Click on a star to rate it!

Average rating / 5. Vote count: