String row = "odd";
String row = "even";
    public int doStartTag()        throws JspException    {        JspWriter out = pageContext.getOut();                boolean emphasiseDate = false;        boolean emphasiseTitle = false;                if (emphColumn != null)        {            emphasiseDate = emphColumn.equalsIgnoreCase("date");            emphasiseTitle = emphColumn.equalsIgnoreCase("title");        }        try        {            out.println("<table align=center class=\"miscTable\">");            // Row: toggles between Odd and Even            String row = "odd";            for (int i = 0; i < items.length; i++)            {                // Title - we just use the first one                DCValue[] titleArray = items[i].getDC("title", null, Item.ANY);                String title = "Untitled";                if (titleArray.length > 0)                {                    title = titleArray[0].value;                }                // Authors....                DCValue[] authors = items[i].getDC("contributor",                    "author",                    Item.ANY);                // Date issued                DCValue[] dateIssued = items[i].getDC("date",                    "issued",                    Item.ANY);                DCDate dd = null;                if(dateIssued.length > 0)                {                    dd = new DCDate(dateIssued[0].value);                }                                // First column is date                out.print("<tr><td nowrap class=\"");                out.print(i == highlightRow ? "highlight" : row);                out.print("RowOddCol\" align=right>");                                if (emphasiseDate)                {                    out.print("<strong>");                }                                out.print(UIUtil.displayDate(dd, false, false));                                if (emphasiseDate)                {                    out.print("</strong>");                }                                // Second column is title                out.print("</td><td class=\"");                out.print(i == highlightRow ? "highlight" : row);                out.print("RowEvenCol\">");                                if (emphasiseTitle)                {                    out.print("<strong>");                }                                out.print("<A HREF=\"item/");                out.print(handles[i]);                out.print("\">");                out.print(title);                out.print("</A>");                                if (emphasiseTitle)                {                    out.print("</strong>");                }                                // Third column is authors                out.print("</td><td class=\"");                out.print(i == highlightRow ? "highlight" : row);                out.print("RowOddCol\">");                for (int j = 0; j < authors.length; j++)                {                    out.print("<em>" + authors[j].value + "</em>");                                        if (j < authors.length - 1)                    {                        out.print("; ");                    }                }                                out.println("</td></tr>");                row = (row.equals("odd") ? "even" : "odd");            }                        out.println("</table>");        }        catch (IOException ie)        {            throw new JspException(ie);        }        return SKIP_BODY;    }        