<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <%@ page import="java.util.Collection" %> <%@ page import="com.idca.fsim.searchers.files.models.Host" %> <%@ page import="com.idca.fsim.searchers.files.FilesListener" %> <%@ page import="com.idca.fsim.searchers.files.PathManager" %> <% Collection hosts = FilesListener.getPathManager().getHosts(); request.setAttribute("hosts",hosts); %>
> <% Host host = (Host)request.getAttribute("host"); out.println(host.getRootPaths().size()); %>