<%@page contentType="text/html"%> <%@page pageEncoding="UTF-8"%> <%@page import="dao.*, vo.*, utils.*, exceptions.*, exceptions.sql.*"%> <%@page import="java.util.*"%> <%@include file="/include/photosHeader.htm"%> <%@include file="/include/colorbox/scripts.htm"%> Photo Gallery

<% String photoDirectory = "/images/photos/"+WebUtils.getParameter(request, "photoDir"); //String photoDirectory = "/images/photos/2009/julAug/"; Collection images = FileManager.readDirectoryImages(FileManager.getRealPath(this.getServletContext())+photoDirectory); Iterator i = images.iterator(); while(i.hasNext()){ String filename = (String) i.next(); out.println(""); } %> <%@include file="/include/footer.htm"%>