IPublicationType publicationType = (IPublicationType) ServiceUtils.executeService(userView,
InfoPublicationType publicationType = (InfoPublicationType) ServiceUtils.executeService(userView,
    public ActionForward prepareSearchPerson(ActionMapping mapping, ActionForm actionForm,            HttpServletRequest request, HttpServletResponse response) throws Exception {        HttpSession session = request.getSession(false);        DynaActionForm dynaForm = (DynaActionForm) actionForm;        IUserView userView = SessionUtils.getUserView(request);        Integer publicationTypeId = new Integer(request.getParameter("infoPublicationTypeId"));        String typePublication = (String) dynaForm.get("typePublication");        Integer idTeacher = (Integer) dynaForm.get("teacherId");        String[] list = (String[]) dynaForm.get("authorsIds");        List newList = Arrays.asList(list);        List authorsIds = new ArrayList();        authorsIds.addAll(newList);        ActionForward actionForward = null;        Object args[] = { publicationTypeId };        IPublicationType publicationType = (IPublicationType) ServiceUtils.executeService(userView,                "ReadPublicationType", args);        if (session != null) {            List infoAuthors = readInfoAuthors(authorsIds, userView);            request.setAttribute("infoAuthorsList", infoAuthors);            dynaForm.set("infoPublicationTypeId", publicationTypeId);            dynaForm.set("typePublication", typePublication);            dynaForm.set("teacherId", idTeacher);            if (publicationType.getPublicationType().equalsIgnoreCase("Unstructured"))                actionForward = mapping.findForward("show-attributes");            else                actionForward = mapping.findForward("show-search-author-form");        }        return actionForward;    }