Index: lams_tool_spreadsheet/web/error.jsp
===================================================================
diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -rac9c27fe43c7732c0cb2a48b5470e6b9ac6397af
--- lams_tool_spreadsheet/web/error.jsp (.../error.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0)
+++ lams_tool_spreadsheet/web/error.jsp (.../error.jsp) (revision ac9c27fe43c7732c0cb2a48b5470e6b9ac6397af)
@@ -1,17 +1,23 @@
-
-
-
<%@ page language="java" isErrorPage="true" pageEncoding="UTF-8" contentType="text/html;charset=utf-8"%>
<%@ taglib uri="tags-lams" prefix="lams"%>
<%@ taglib uri="tags-core" prefix="c"%>
<%@ taglib uri="tags-fmt" prefix="fmt"%>
+<%@ page import="org.lamsfoundation.lams.util.Configuration" import="org.lamsfoundation.lams.util.ConfigurationKeys" %>
+
+
+
+
+
<%-- Catch JSP Servlet Exception --%>
+<%-- The javascript method checkForErrorScreen in error.js is coded to match this page exactly.
+---- If you change this page, please change the javascript. --%>
<%
-if (exception != null) {
+if ( Configuration.getAsBoolean(ConfigurationKeys.ERROR_STACK_TRACE) ) {
+if (exception != null ) {
%>
<%=exception.getMessage()%>
@@ -50,20 +56,23 @@
<%
}
+}
%>
-
+
-
+