Skip to content

Commit

Permalink
Make compatible with servlet 2.5 spec
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamtriggs committed Sep 7, 2017
1 parent 7abd59d commit c597a3e
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import org.apache.commons.logging.LogFactory;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;
import javax.servlet.http.HttpServletResponse;
Expand All @@ -20,7 +19,6 @@
import java.util.Map;
import java.util.TreeMap;

@WebServlet(name = "FedSearchController", urlPatterns = {"/FS.xml","/ctsasearch"} ) // fedsearch
public class FedSearchController extends PagedSearchController {
private static final Log log = LogFactory.getLog(FedSearchController.class);

Expand Down
15 changes: 14 additions & 1 deletion webapp/src/main/webapp/WEB-INF/web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -904,7 +904,20 @@
<servlet-name>SearchController</servlet-name>
<url-pattern>/search</url-pattern>
</servlet-mapping>


<servlet>
<servlet-name>FedSearchController</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.search.controller.FedSearchController</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>FedSearchController</servlet-name>
<url-pattern>/ctsasearch</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>FedSearchController</servlet-name>
<url-pattern>/FS.xml</url-pattern>
</servlet-mapping>

<servlet>
<servlet-name>SearchHelpController</servlet-name>
<servlet-class>edu.cornell.mannlib.vitro.webapp.search.controller.SearchHelpController</servlet-class>
Expand Down

0 comments on commit c597a3e

Please sign in to comment.