summaryrefslogtreecommitdiff
path: root/src/main/webapp/wayferror.jsp
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-11-03 12:18:27 +0100
committerLeif Johansson <leifj@sunet.se>2011-11-03 12:18:27 +0100
commit8541018307f80bb5446c024354e7dab1ec96706b (patch)
tree3dc1ae9cd786f3640132487a44a7fa46eb952cad /src/main/webapp/wayferror.jsp
parent7554d58b889974e4ccf64d58f34804f1e73e3bf2 (diff)
added dlfts back
Diffstat (limited to 'src/main/webapp/wayferror.jsp')
-rwxr-xr-xsrc/main/webapp/wayferror.jsp38
1 files changed, 38 insertions, 0 deletions
diff --git a/src/main/webapp/wayferror.jsp b/src/main/webapp/wayferror.jsp
new file mode 100755
index 0000000..1fd564a
--- /dev/null
+++ b/src/main/webapp/wayferror.jsp
@@ -0,0 +1,38 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html
+ PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
+ "DTD/xhtml1-strict.dtd">
+ <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
+ <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
+
+ <jsp:useBean id="requestURL" scope="request" class="java.lang.String"/>
+ <jsp:useBean id="errorText" scope="request" class="java.lang.String"/>
+
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+ <link rel="stylesheet" type="text/css" href="main.css" />
+ <title>Access System Failure</title>
+</head>
+
+<body>
+<div class="head">
+<img src="images/logo.jpg" alt="Logo" />
+<h1>Inter-institutional Access System Failure</h1>
+</div>
+
+<p>The inter-institutional access system experienced a technical failure.</p>
+
+<p>Please email <a href="mailto:user@domain"> administrator's name</a> and include the following error message:</p>
+
+<logic:notEmpty name="requestURL">
+<p class="error">Discovery Service failure at (<bean:write name="requestURL" />)</p>
+
+<p><bean:write name="errorText" /></p>
+</logic:notEmpty>
+<logic:empty name="requestURL">
+<p class="error">The Discovery Service should not be called directly</p>
+</logic:empty>
+
+
+</body>
+</html> \ No newline at end of file