<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> <%@ page import="javax.servlet.ServletException" %> <%@ page import="edu.cornell.mannlib.vitro.webapp.controller.VitroRequest"%> <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.Portal"%> <%@ page import="edu.cornell.mannlib.vitro.webapp.beans.ApplicationBean"%> <%@ page import="org.apache.commons.logging.Log" %> <%@ page import="org.apache.commons.logging.LogFactory" %> <%! public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.templates.page.headContent.jsp"); %> <% VitroRequest vreq = new VitroRequest(request); Portal portal = vreq.getPortal(); String themeDir = portal != null ? portal.getThemeDir() : Portal.DEFAULT_THEME_DIR_FROM_CONTEXT; themeDir = request.getContextPath() + '/' + themeDir; %> <%-- --%> <c:out value="${requestScope.title}"/> <% // nac26 080424: the following line should only be uncommented for PHILLIPS (vivo.cornell.edu) to ensure we're only tracking stats on the live site // %> <%-- mw542 021009: Brian C said this was ignoring the catch tags throwing exceptions. we should find a better way to include css/js anyway ${fn:substringBefore(customJsp,'.jsp')}${"Head.jsp"} --%>