<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%> <%@ page import="org.apache.commons.logging.Log" %> <%@ page import="org.apache.commons.logging.LogFactory" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %><%/* this odd thing points to something in web.xml */ %> <%@ page errorPage="/error.jsp"%> <% /*********************************************** alphaIndex.jsp will just display the just the index, no entites. request attributres: 'alpha' - set to currently displaying alpha, 'none' or 'all' 'controllerParam' - parameter for controller 'count' - count of entites in the index 'letters' - List of STrings, letters for index. 'servlet' - name of servlet to put in links. put something like this in for debuggin: < % = MiscWebUtils.getReqInfo(request) % > bdc34 2006-02-06 **********************************************/ %>
${requestScope.alpha }  ${letter} ${letter} <% if( request.getAttribute("alpha") != null && ! "all".equalsIgnoreCase((String)request.getAttribute("alpha"))) { %> all (${requestScope.count} that start with ${requestScope.alpha }) <% }else{ %> (${requestScope.count}) <% } %>