From: <bra...@us...> - 2008-07-22 02:59:02
|
Revision: 2484 http://archive-access.svn.sourceforge.net/archive-access/?rev=2484&view=rev Author: bradtofel Date: 2008-07-22 02:59:11 +0000 (Tue, 22 Jul 2008) Log Message: ----------- MOVED: Redirect.jsp up a level to the /webapp/jsp/ directory, where it is externally accessible. Added Paths: ----------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Redirect.jsp Removed Paths: ------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/replay/Redirect.jsp Deleted: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/replay/Redirect.jsp =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/replay/Redirect.jsp 2008-07-22 02:56:29 UTC (rev 2483) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/replay/Redirect.jsp 2008-07-22 02:59:11 UTC (rev 2484) @@ -1,15 +0,0 @@ -<%@ page import="org.archive.wayback.util.bdb.BDBMap" %> - -<% - String url = request.getParameter("url"); - String time = request.getParameter("time"); - - // Put time-mapping for this id, or if no id, the ip-addr. - String id = request.getHeader("Proxy-Id"); - if(id == null) id = request.getRemoteAddr(); - BDBMap.addTimestampForId(request.getContextPath(),id, time); - - // Now redirect to the page the user wanted. - response.sendRedirect(url); -%> -anchored date! Copied: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Redirect.jsp (from rev 2465, trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/WEB-INF/replay/Redirect.jsp) =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Redirect.jsp (rev 0) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Redirect.jsp 2008-07-22 02:59:11 UTC (rev 2484) @@ -0,0 +1,15 @@ +<%@ page import="org.archive.wayback.util.bdb.BDBMap" %> + +<% + String url = request.getParameter("url"); + String time = request.getParameter("time"); + + // Put time-mapping for this id, or if no id, the ip-addr. + String id = request.getHeader("Proxy-Id"); + if(id == null) id = request.getRemoteAddr(); + BDBMap.addTimestampForId(request.getContextPath(),id, time); + + // Now redirect to the page the user wanted. + response.sendRedirect(url); +%> +anchored date! This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |