From: <bra...@us...> - 2007-08-24 22:47:23
|
Revision: 1944 http://archive-access.svn.sourceforge.net/archive-access/?rev=1944&view=rev Author: bradtofel Date: 2007-08-24 15:47:26 -0700 (Fri, 24 Aug 2007) Log Message: ----------- MOVED Redirect.jsp up to jsp/ directory 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/jsp/QueryUI/Redirect.jsp Deleted: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/QueryUI/Redirect.jsp =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/QueryUI/Redirect.jsp 2007-08-24 22:45:55 UTC (rev 1943) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/QueryUI/Redirect.jsp 2007-08-24 22:47:26 UTC (rev 1944) @@ -1,14 +0,0 @@ -<%@ page import="org.archive.wayback.core.Timestamp" %> - -<% - 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(); - Timestamp.addTimestampForId(request.getContextPath(),id, time); - - // Now redirect to the page the user wanted. - response.sendRedirect(url); -%> Copied: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Redirect.jsp (from rev 1699, trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/QueryUI/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 2007-08-24 22:47:26 UTC (rev 1944) @@ -0,0 +1,14 @@ +<%@ page import="org.archive.wayback.core.Timestamp" %> + +<% + 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(); + Timestamp.addTimestampForId(request.getContextPath(),id, time); + + // Now redirect to the page the user wanted. + response.sendRedirect(url); +%> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |