VIVO-82 Remove the vestiges of VitroRequestPrep
Unused imports prevented the compiling of JSPs
This commit is contained in:
parent
b86a34b611
commit
69ab12c4bc
3 changed files with 1 additions and 5 deletions
|
@ -57,8 +57,6 @@ public class RequestModelsPrep implements Filter {
|
|||
* The filter will be applied to all incoming urls, this is a list of URI
|
||||
* patterns to skip. These are matched against the requestURI sans query
|
||||
* parameters, e.g. "/vitro/index.jsp" "/vitro/themes/enhanced/css/edit.css"
|
||||
*
|
||||
* These patterns are from VitroRequestPrep.java
|
||||
*/
|
||||
private final static Pattern[] skipPatterns = {
|
||||
Pattern.compile(".*\\.(gif|GIF|jpg|jpeg)$"),
|
||||
|
@ -109,7 +107,7 @@ public class RequestModelsPrep implements Filter {
|
|||
for (Pattern skipPattern : skipPatterns) {
|
||||
if (skipPattern.matcher(requestURI).matches()) {
|
||||
log.debug("request matched skipPattern '" + skipPattern
|
||||
+ "', skipping VitroRequestPrep");
|
||||
+ "', skipping RequestModelsPrep");
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep"%>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers" %>
|
||||
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@ page errorPage="/error.jsp"%>
|
||||
<%@ page contentType="text/html; charset=UTF-8"%>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.filters.VitroRequestPrep" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.controller.freemarker.FreemarkerHttpServlet" %>
|
||||
|
||||
<% /***********************************************
|
||||
|
|
Loading…
Add table
Reference in a new issue