From: <bra...@us...> - 2010-06-01 22:03:29
|
Revision: 3144 http://archive-access.svn.sourceforge.net/archive-access/?rev=3144&view=rev Author: bradtofel Date: 2010-06-01 22:03:23 +0000 (Tue, 01 Jun 2010) Log Message: ----------- New template system uses a single wrapper, which includes content from a delegate .jsp Modified Paths: -------------- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Interstitial.jsp Modified: trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Interstitial.jsp =================================================================== --- trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Interstitial.jsp 2010-06-01 21:46:15 UTC (rev 3143) +++ trunk/archive-access/projects/wayback/wayback-webapp/src/main/webapp/jsp/Interstitial.jsp 2010-06-01 22:03:23 UTC (rev 3144) @@ -1,17 +1,11 @@ -<%@ -page import="org.archive.wayback.webapp.AccessPoint" -%><%@ -page import="org.archive.wayback.util.StringFormatter" +<%@ page import="org.archive.wayback.webapp.AccessPoint" +%><%@ page import="org.archive.wayback.util.StringFormatter" %><% String toUrl = request.getParameter(AccessPoint.INTERSTITIAL_TARGET); if(toUrl == null) { response.setStatus(400); %> -<html> - <body> Bad request. require argument <%= AccessPoint.INTERSTITIAL_TARGET %> - </body> -</html> <% } else { String secsS = request.getParameter(AccessPoint.INTERSTITIAL_SECONDS); @@ -28,7 +22,6 @@ String safeTargetUrl = f.escapeHtml(toUrl); String safeTargetUrlJS = f.escapeJavaScript(toUrl); %> -<jsp:include page="/WEB-INF/template/UI-header.jsp" flush="true" /> <script type="text/javascript"> function go() { document.location.href = "<%= safeTargetUrlJS %>"; @@ -45,7 +38,6 @@ in <%= secs %> seconds. Click <a href="<%= safeTargetUrl %>">here</a> to go now. </p> -jsp:include page="/WEB-INF/template/UI-footer.jsp" flush="true" /> <% } %> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |