%-- Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA http://www.gnu.org/licenses/gpl.txt --%> <%@ taglib uri="/WEB-INF/jstl/c.tld" prefix="c" %> <%@ taglib uri="/WEB-INF/jstl/fmt.tld" prefix="fmt" %> <%@ taglib uri="/WEB-INF/struts/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/struts/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts/struts-bean.tld" prefix="bean" %> <% String protocol = request.getProtocol(); if(protocol.startsWith("HTTPS")){ protocol = "https://"; }else{ protocol = "http://"; } String learning_root = protocol+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; String exportUrl = learning_root + "portfolioExport?" + request.getQueryString(); String downloadServlet = learning_root + "exportDownload?fileLocation="; %>