final Section section = selectSection(request); final ItemFactoryCreator itemFactoryCreator = new ItemFactoryCreator(section); request.setAttribute("itemFactoryCreator", itemFactoryCreator);
Section section = getSection(request); if (section == null) { return sections(mapping, form, request, response); }  request.setAttribute("creator", new ItemCreator(section));  selectSection(request);
    public ActionForward createItem(ActionMapping mapping, ActionForm form, HttpServletRequest request,            HttpServletResponse response) throws Exception {        final Section section = selectSection(request);        final ItemFactoryCreator itemFactoryCreator = new ItemFactoryCreator(section);        request.setAttribute("itemFactoryCreator", itemFactoryCreator);        return mapping.findForward("createItem");    }