<%@page import="javax.jdo.*,java.util.Iterator,PrjPackage.*"%> <%@page isThreadSafe="false" %> <%-- more efficient and safe in a website which is not too loaded --%> <%//! static { WebAppMgr.enhanceAll(); } %> www.download4free.up.co.il <%// Obtain a PersistenceManager instance: PersistenceManager pm = WebAppMgr.getPersistenceManager(); try{%> <% boolean download="download".equals(request.getParameter("mode"));%>




    <% Extent extent = pm.getExtent(Category.class,false); Iterator itr = extent.iterator(); int i=0; while (itr.hasNext()) { i++; Category cat = (Category)itr.next();%> <%=i%>) <%if(!download){%> <%=cat.GetName()%>

    <%} else {%> <%=cat.GetName()%>

    <%}%> <%} extent.close(itr); %> <%if(!download){%>Contact Form <%} else {%>Contact Form<%}%>

<% } catch(Exception x) {%>

Error Happend :<%=x.getMessage()%> ,Problem With Prevent The Site

<%} finally{ if(pm.currentTransaction().isActive()) { pm.currentTransaction().rollback(); } pm.close(); }%> Powered by ObjectDB Java/JDO Database
Mail To Me