<%@ page contentType="text/html; charset=utf-8" language="java" import="kat.web.*,kat.util.*,kat.db.*,cutandpaste.*,cutandpaste.vo.*,cutandpaste.db.*,cutandpaste.dao.*,java.util.Vector,java.util.Calendar,java.io.File" errorPage="" %> <% Cutandpaste my = new Cutandpaste(request); DAOJob daoJob = (DAOJob)my.getPersistence(Job.class); DAOContent daoContent = (DAOContent)my.getPersistence(Content.class); DAOCategory daoCategory = (DAOCategory)my.getPersistence(Category.class); DAOFeatured daoFeatured = (DAOFeatured)my.getPersistence(Featured.class); Job job; Content content = null; Category category = null; Featured featured = null; Vector features = daoFeatured.listByPriority(); Vector works = daoJob.listByPriority(); Vector contents; %> cut&paste - we design sticky brands

design web adv video
works featured brands contacts
<% // WORK if (works!=null) { for (int i=0;i <% } // for %> <% } else { // if %> NO WORKS <% } %>
<% my.close(); %>