Skip to content

Commit

Permalink
Remove COS dependency from JSP
Browse files Browse the repository at this point in the history
  • Loading branch information
grahamtriggs committed Dec 24, 2016
1 parent 68a462b commit be72c0d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions webapp/src/main/webapp/error.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ page isErrorPage="true" %>
<%@ page import="com.oreilly.servlet.ServletUtils,edu.cornell.mannlib.vitro.webapp.web.*" %>
<%@ page import="edu.cornell.mannlib.vitro.webapp.web.*" %>
<%@page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%>
<%@page import="edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean"%>
<%@page import="org.apache.commons.logging.Log"%>
Expand Down Expand Up @@ -46,7 +46,10 @@

<div>
<% try{ %>
<h3>Trace:</h3><pre><%= ServletUtils.getStackTraceAsString(exception) %></pre>
<h3>Trace:</h3>
<pre><jsp:scriptlet>
exception.printStackTrace(new java.io.PrintWriter(out));
</jsp:scriptlet></pre>
<% }catch (Exception e){ %>
No trace is available.
<% } %>
Expand Down

0 comments on commit be72c0d

Please sign in to comment.