aboutsummaryrefslogtreecommitdiff
path: root/spss.slinterface/pages/resultOverview.jsp
diff options
context:
space:
mode:
authorgregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-12-16 11:26:04 +0000
committergregor <gregor@d688527b-c9ab-4aba-bd8d-4036d912da1d>2003-12-16 11:26:04 +0000
commit30b51f122dac66296e5b17c9ca2cc89a871ffdc2 (patch)
treed4947622f94132c6d026e1a1fc47913c2614b7d3 /spss.slinterface/pages/resultOverview.jsp
parentbedb12d7f975451198071b5b3f7102c248879592 (diff)
downloadmoa-id-spss-30b51f122dac66296e5b17c9ca2cc89a871ffdc2.tar.gz
moa-id-spss-30b51f122dac66296e5b17c9ca2cc89a871ffdc2.tar.bz2
moa-id-spss-30b51f122dac66296e5b17c9ca2cc89a871ffdc2.zip
Rewrite der URLs für signierte Dateien und Bilder implementiert und getestet.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@74 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'spss.slinterface/pages/resultOverview.jsp')
-rw-r--r--spss.slinterface/pages/resultOverview.jsp17
1 files changed, 14 insertions, 3 deletions
diff --git a/spss.slinterface/pages/resultOverview.jsp b/spss.slinterface/pages/resultOverview.jsp
index 5e27178f4..32a0cd403 100644
--- a/spss.slinterface/pages/resultOverview.jsp
+++ b/spss.slinterface/pages/resultOverview.jsp
@@ -25,7 +25,11 @@
<td>
<table bgcolor="#eeeeee" width="790px" border="1" cellpadding="3">
<td width="150px" align="center"><img width="70px"
- <% out.print("src=\"" + request.getContextPath() + "/pages/images/aut-emb2.gif\" alt=\"Republik Österreich\""); %>
+ <% out.print(
+ "src=\"" +
+ ((at.gv.egovernment.moa.spss.slinterface.URLRewriter) application.getAttribute(at.gv.egovernment.moa.spss.slinterface.Constants.WSCP_URL_REWRITER_)).rewrite(
+ request.getContextPath() + "/pages/images/aut-emb2.gif\"", null) +
+ " alt=\"Republik Österreich\""); %>
></td>
<td align="center"><b>Bundeskanzleramt der Republik Österreich - Signaturprüfdienst</b></td>
</table>
@@ -222,10 +226,17 @@
if (doShow)
{
out.print("<tr><td width=\"150px\" align=\"right\"><code>");
- out.print("<a href=\"" + response.encodeURL(request.getContextPath() + dataInfo.getHashInputDataURL()) + "\"");
+
+ // out.print("<a href=\"" + response.encodeURL(request.getContextPath() + dataInfo.getHashInputDataURL()) + "\"");
+ out.print(
+ "<a href=\"" +
+ ((at.gv.egovernment.moa.spss.slinterface.URLRewriter) application.getAttribute(at.gv.egovernment.moa.spss.slinterface.Constants.WSCP_URL_REWRITER_)).rewrite(
+ response.encodeURL(request.getContextPath() + dataInfo.getHashInputDataURL()), request.getSession().getId()) +
+ "\"");
+
boolean isSLXHTML = dataInfo.getIsSLXHTMLDocument();
if (isSLXHTML) out.write(" target=\"_blank\"");
- out.print(">Datum Nr." + (j + 1) + "</a>");
+ out.print(">Datei Nr." + (j + 1) + "</a>");
out.print("</code></td><td align=\"left\">");
if (isSLXHTML)
{