<%@page import="javax.jdo.*,java.util.*,util.*"%> <%@page isThreadSafe="false"%> <%! static { WebAppMgr.enhanceAll(); } %> <% try { int id = Integer.parseInt(request.getParameter("id")); int x = 0; PersistenceManager pm = WebAppMgr.getPersistenceManager(application); Extent extent = pm.getExtent(Category.class, false); Iterator itr = extent.iterator(); while (itr.hasNext()) { x++; Category cat = (Category)itr.next(); if (id == x) { ArrayList file = cat.getList();%>

<%=cat.toString()%> Category


<%=cat.toString()%> Category <% for (int i=0;i <% } %>
    <%=pad.getProgramName()%>
    Author: <%=pad.AuthorFirstName()%>
    File Size: <%=pad.FileSizeK()%>KB
    Download
<% } } %>
Add New Program

Back To Main Page

<% } catch (Exception x) { throw x; } %>