Time Indexing Audio Listing
You can use
a Flash player to interactively choose the
start and end places, or a web form to select
a start place and an end place.
<%
ServletContext context = getServletContext();
String mediaURL = (String)context.getInitParameter("mediaURL");
String listingPath = mediaURL + "ListDescriptors.jsp";
LinkedList fileList = new LinkedList();
%>
<%= listingPath %>
<% fileList.add((String)pageContext.getAttribute("name")); %>
<%
Iterator fileListI = fileList.iterator();
int itemsPerRow = 1;
int item = 0;
int count = 0;
%>
<%
while (fileListI.hasNext()) {
if (item == 0) {
out.print("");
}
item++;
String fileName = (String)fileListI.next();
String xmlpath = mediaURL + "GetDescriptor.jsp?file=" + fileName;
%>
<%= xmlpath %>
|
|
|
|
<%
if (item == itemsPerRow) {
out.println(" ");
item = 0;
}
count++;
}
%>
|