<%@ include file="/portal/include/include_java.jsp" %>
<%@ page import="com.appiancorp.ap2.PageFilter"%>
<%/*
PageFilter.forceSetLastPage(request, (String)request.getServletPath(), (String)request.getQueryString());
*/%>
<%
String paramName = null;
boolean isFirst = true;
for (java.util.Enumeration e = request.getParameterNames() ; e.hasMoreElements() ;) {
paramName = (String)e.nextElement();
if (paramName.equals("$p")) continue;
if (isFirst) { querystring.append("?"); isFirst=false; }
else querystring.append("&");
querystring.append(java.net.URLEncoder.encode(paramName));
querystring.append("=");
querystring.append(java.net.URLEncoder.encode(request.getParameter(paramName)));
}
java.util.Map extraParameters = (java.util.Map)request.getAttribute("extraParameters");
for (java.util.Iterator i = extraParameters.keySet().iterator() ; i.hasNext() ;) {
paramName = (String)i.next();
if (paramName.equals("$p")) continue;
if (isFirst) { querystring.append("?"); isFirst=false; }
else querystring.append("&");
querystring.append(java.net.URLEncoder.encode(paramName));
querystring.append("=");
querystring.append(java.net.URLEncoder.encode((String)extraParameters.get(paramName)));
}
%>