More defensive scope handling.
[java-idp.git] / webApplication / hs.jsp
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE html 
3         PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" 
4         "DTD/xhtml1-strict.dtd">
5         <%@ taglib uri="/WEB-INF/tlds/struts-logic.tld" prefix="logic" %>
6         <%@ taglib uri="/WEB-INF/tlds/struts-bean.tld" prefix="bean" %>
7         
8         <jsp:useBean id="shire" scope="request" class="java.lang.String" />
9         <jsp:useBean id="target" scope="request" class="java.lang.String" />
10         <jsp:useBean id="assertion" scope="request" class="java.lang.String" />
11         <jsp:useBean id="hs_helpText" scope="application" class="java.lang.String"/>
12         <jsp:useBean id="hs_detailedHelpURL" scope="application" class="java.lang.String"/>
13         
14 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
15 <head>
16         <link rel="stylesheet" type="text/css" href="main.css" />
17         <title>Access Request</title>
18 </head>
19
20 <body onLoad="document.forms[0].submit()">
21
22 <h1>Inter-institutional Access Request</h1>
23
24 <p><bean:write name="hs_helpText" /></p>
25 <p>
26 <form name="shib"  action="<bean:write name="shire" />" method="POST">
27 <input type="hidden" name="TARGET" value="<bean:write name="target" />">
28 <input type="hidden" name="SAMLResponse" value="<bean:write name="assertion" />">
29 <input type="submit" value="Transmit">
30 </form>
31 </p>
32 <p><a href="<bean:write name="hs_detailedHelpURL" />">Detailed information</a> explaining this process.</p>
33
34 </body>
35 </html>