From: <bra...@us...> - 2008-08-19 22:27:10
|
Revision: 2565 http://archive-access.svn.sourceforge.net/archive-access/?rev=2565&view=rev Author: bradtofel Date: 2008-08-19 22:27:20 +0000 (Tue, 19 Aug 2008) Log Message: ----------- WHITESPACE: cleaned up whitespace -- added braces around if() Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/QueryUI/Redirect.jsp Modified: 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 2008-08-19 22:23:08 UTC (rev 2564) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/QueryUI/Redirect.jsp 2008-08-19 22:27:20 UTC (rev 2565) @@ -1,15 +1,15 @@ <%@ page import="org.archive.wayback.util.bdb.BDBMap" %> +<% +String url = request.getParameter("url"); +String time = request.getParameter("time"); -<% - 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); +// 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. |