%@ include file="/includes/taglibs.jsp" %> <% String protocol = request.getProtocol(); if(protocol.startsWith("HTTPS")){ protocol = "https://"; }else{ protocol = "http://"; } String pathToRoot = protocol+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/"; String pathToShare = protocol+request.getServerName()+":"+request.getServerPort()+request.getContextPath()+"/../../../.."; %>