for (CandidacyDocumentUploadBean bean : beans) {  }
Object[] args = { beans }; ServiceUtils.executeService(SessionUtils.getUserView(request), "SaveCandidacyDocumentFiles", args);
    public ActionForward uploadDocuments(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) {        List<CandidacyDocumentUploadBean> beans = (List<CandidacyDocumentUploadBean>) RenderUtils                .getViewState("candidacyDocuments").getMetaObject().getObject();        for (CandidacyDocumentUploadBean bean : beans) {                     }                return null;    }