handles[i] = HandleManager.findHandle(context, items[i]);
    private void showPreviousSubmissions(Context context,        HttpServletRequest request,        HttpServletResponse response)        throws ServletException, IOException, SQLException, AuthorizeException    {        ItemIterator subs = Item.findBySubmitter(context,            context.getCurrentUser());        // Turn the iterator into a list        List subList = new LinkedList();        while (subs.hasNext())        {            subList.add(subs.next());        }                // Get corresponding Handles        Item[] items = new Item[subList.size()];        String[] handles = new String[subList.size()];                for (int i = 0; i < subList.size(); i++)        {            items[i] = (Item) subList.get(i);            handles[i] = HandleManager.findHandle(context, items[i]);        }        log.info(LogManager.getHeader(context,            "view_own_submissions",            "count=" + items.length));        request.setAttribute("user", context.getCurrentUser());        request.setAttribute("items", items);        request.setAttribute("handles", handles);        JSPManager.showJSP(request,            response,            "/mydspace/own-submissions.jsp");    }