aboutsummaryrefslogtreecommitdiff
path: root/id.oa/html/index.jsp
diff options
context:
space:
mode:
author(no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-06-28 20:46:16 +0000
committer(no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d>2004-06-28 20:46:16 +0000
commitda5f70c20ef4bfea21c9d228e1d6891616887958 (patch)
treed05130206e29d13c6fd42003896afb2b31320999 /id.oa/html/index.jsp
parent4dd1877ef3771633e096509dae7b8c99fee9ce4b (diff)
downloadmoa-id-spss-da5f70c20ef4bfea21c9d228e1d6891616887958.tar.gz
moa-id-spss-da5f70c20ef4bfea21c9d228e1d6891616887958.tar.bz2
moa-id-spss-da5f70c20ef4bfea21c9d228e1d6891616887958.zip
This commit was manufactured by cvs2svn to create tag 'MOA-ID1_2d05'.tags/MOA-ID1_2d05
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/MOA-ID1_2d05@145 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'id.oa/html/index.jsp')
-rw-r--r--id.oa/html/index.jsp56
1 files changed, 0 insertions, 56 deletions
diff --git a/id.oa/html/index.jsp b/id.oa/html/index.jsp
deleted file mode 100644
index 5111e5103..000000000
--- a/id.oa/html/index.jsp
+++ /dev/null
@@ -1,56 +0,0 @@
-<%@ page import="java.util.*,javax.servlet.http.*,sun.misc.BASE64Decoder" %>
-<html>
-<head>
-<title>Sample Online Application</title>
-</head>
-<body>
-<h1>Sample Online Application</h1>
-
-<p>Request headers:
-<table border="1">
- <%
- /* collect parameters from request */
- for (Enumeration enum = request.getHeaderNames(); enum.hasMoreElements(); ) {
- String key = (String) enum.nextElement();
- String value = request.getHeader(key); %>
- <tr><td><%=key%></td><td><%=value%></td></tr>
- <% } %>
-</table>
-</p>
-
-<p>Request parameters:
-<table border="1">
- <%
- /* collect parameters from request */
- for (Enumeration enum = request.getParameterNames(); enum.hasMoreElements(); ) {
- String name = (String) enum.nextElement();
- String value = request.getParameter(name); %>
- <tr><td><%=name%></td><td><%=value%></td></tr>
- <% } %>
-</table>
-</p>
-
-<p>Cookies:
-<table border="1">
- <%
- /* collect attributes from request */
- Cookie[] cookies = request.getCookies();
- if (cookies != null) {
- for (int i = 0; i < cookies.length; i++) {
- Cookie cookie = cookies[i]; %>
- <tr><td><%=cookie.getName()%></td><td><%=cookie.getValue()%></td></tr>
- <% }
- } %>
-</table>
-</p>
-
-<% String authHeader = request.getHeader("Authorization");
- if (authHeader != null) {
- authHeader = authHeader.substring(authHeader.indexOf(" ")+1);
- String decAuthHeader = new String(new BASE64Decoder().decodeBuffer(authHeader));
-%>
-<p>Basic authentication credentials: <%=decAuthHeader%></p>
-<% } %>
-<p><a href="form.jsp">Form sample</a></p>
-</body>
-</html> \ No newline at end of file