<%@ page import="java.util.Iterator"%> <%@ taglib uri="/WEB-INF/tiles.tld" prefix="comp" %> <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <%-- Menu of sources component This component is a menu of sources. When a source is clicked, its code is shown using a viewer. A list of absolute source path must be provided. Viewer path can be provided. @param list List of source paths to display @param viewerPath Path of viewer page. Optional. --%> <%-- Set default viewer if not specified --%> <% pageContext.setAttribute( "viewerPath", request.getContextPath()+"/common/viewSrc.jsp" ); %> <%-- Iterate on sources list --%> <%-- Normally, we should write something like this : But, Struts doesn't declare the TEI class for iterate, and some web container deal badly with the declared variable. So, we use what follow instead. --%>
JSP Sources
<%=srcPath%>