<%-- * Licensed Materials - Property of IBM * * 5724-U18 * * (C) COPYRIGHT IBM CORP. 2006,2015 All Rights Reserved. * * US Government Users Restricted Rights - Use, duplication or * disclosure restricted by GSA ADP Schedule Contract with * IBM Corp. --%><% %><%@page import="psdi.webclient.system.runtime.WebClientRuntime" %><%@page import="java.util.*" %><% String reportType = (String)session.getAttribute("reportType"); Hashtable reportParams = (Hashtable)session.getAttribute("reportParams"); %> <% if(reportType != null && reportType.equals("COGNOS")) { String cogredir = (String)reportParams.get("redir"); int cogURLIndex = cogredir.indexOf("?"); String cognosURL = cogredir.substring(0,cogURLIndex); %> <% } else { %> <% } %>
" method="post"> <% Object pKeys[] = reportParams.keySet().toArray(); for(int i = 0; i < pKeys.length; i++) { String keyName=pKeys[i].toString(); if(keyName.equals("__islocale")) { String value=(String) reportParams.get(keyName); StringTokenizer st= new StringTokenizer(value,"||"); while(st.hasMoreTokens()) { %> <% } } else { if (reportParams.get(pKeys[i].toString()) instanceof String) { String paramValue = (String)reportParams.get(pKeys[i].toString()); paramValue = paramValue.replace("\"", """); paramValue = paramValue.replace("\\", "\\\\"); String utf8String = new String(paramValue.getBytes("UTF-8"), "ISO-8859-1"); %> <% } else { %> <% } } } // How do I test Cognos????? if(reportType != null && reportType.equals("COGNOS")) { StringBuffer completeURL = request.getRequestURL(); int index = completeURL.indexOf("/", 8); String url = completeURL.substring(0,index); %> <% } %>