final List<String> messages;
    public ActionForward create(ActionMapping mapping, ActionForm actionForm, HttpServletRequest request, HttpServletResponse response) {        final List<DocumentRequestCreateBean> toBeCreated = new ArrayList<DocumentRequestCreateBean>();                final List<DocumentRequestCreateBean> documentRequestCreateBeans = (List<DocumentRequestCreateBean>) RenderUtils.getViewState().getMetaObject().getObject();        for (final DocumentRequestCreateBean documentRequestCreateBean : documentRequestCreateBeans) {            if (documentRequestCreateBean.getToBeCreated()) {                toBeCreated.add(documentRequestCreateBean);            }        }                final List<String> messages;        final Object[] args = { toBeCreated };        try {            messages = (List<String>) executeService(request, "CreateDocumentRequests", args);        } catch (FenixFilterException e) {            return mapping.getInputForward();        } catch (FenixServiceException e) {            return mapping.getInputForward();        }                for (final String message : messages) {            final ActionMessages actionMessages = new ActionMessages();            actionMessages.add(message, new ActionMessage(message));            saveMessages(request, actionMessages);        }                return mapping.findForward("createSuccess");    }