<%@ page import="java.util.Iterator"%> <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-bean" 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()+"/tutorial/common/viewSrc.jsp" ); %> <%-- Iterate on sources list --%>
JSP Sources
<%=srcPath%>