anchor.diff:  <%@ page import="org.archive.wayback.core.UIResults" %>
   <%@ page import="org.archive.wayback.core.WaybackRequest" %>
   <%@ page import="org.archive.wayback.util.StringFormatter" %>
  +<%@ page import="org.archive.wayback.util.url.UrlOperations" %>
   <%
   UIResults results = UIResults.extractException(request);
   WaybackException e = results.getException();
  +WaybackRequest wbr = results.getWbRequest();
   e.setupResponse(response);
  -String contextRoot = results.getWbRequest().getContextPrefix();
  -
  +String contextRoot = wbr.getContextPrefix();
  +String requestUrl = wbr.getRequestUrl();
   %>
   
   <jsp:include page="/WEB-INF/template/UI-header.jsp" flush="true" />
  
positive.code: 	List<String> closeMatches = niae.getCloseMatches();
  	if(closeMatches != null && !closeMatches.isEmpty()) {
  %>
  		Other requests to try:<br>
  <%
  		WaybackRequest tmp = results.getWbRequest().clone();
  		for(String closeMatch : closeMatches) {
  			tmp.setRequestUrl(closeMatch);
  			String link = tmp.getContextPrefix() + "query?" +
  
negative.code: <%
  		}
  	}
  	String parentUrl = UrlOperations.getUrlParentDir(requestUrl);
  	if(parentUrl != null) {
  		WaybackRequest tmp = wbr.clone();
  		tmp.setRequestUrl(parentUrl);
  		tmp.setUrlQueryRequest();
  		String link = tmp.getContextPrefix() + "query?" +
  			tmp.getQueryArguments();
  		String escapedLink = fmt.escapeHtml(link);
  		String escapedParentUrl = fmt.escapeHtml(parentUrl);
  		%>
  		</p>
  		<p>
  		More options:<br></br>
  			Try Searching all pages under <a href="<%= escapedLink %>"><%= escapedParentUrl %></a>
  		</p>
  		<%
  	}
  }
  %>
  <jsp:include page="/WEB-INF/template/UI-footer.jsp" flush="true" />
  