if(degreeCurricularPlanID != null){ return mapping.findForward("ShowStudentCurriculumForCoordinator"); }
    public ActionForward getStudentCP(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        HttpSession session = request.getSession();        IUserView userView = (IUserView) session.getAttribute(SessionConstants.U_VIEW);        String studentNumber = getStudent(request);        InfoPerson infoPerson = null;        String username = null;        if (studentNumber != null) // para um aluno em particular        {            try {                Object args[] = { Integer.valueOf(studentNumber) };                InfoStudent infoStudent = (InfoStudent) ServiceManagerServiceFactory.executeService(                        userView, "ReadStudentByNumberAndAllDegreeTypes", args);                if (infoStudent == null)                    return mapping.findForward("NotAuthorized");                infoPerson = infoStudent.getInfoPerson();                username = infoPerson.getUsername();            } catch (FenixServiceException e) {                throw new FenixActionException(e);            }        } else if (studentNumber == null) // deixa de importar se o ID do plano curricular for especificado        {            username = userView.getUtilizador();        }        try {            executeService(username, request);        } catch (Exception e) {            return mapping.findForward("NotAuthorized");        }        request.setAttribute("studentPerson", infoPerson);        return mapping.findForward("ShowStudentCurriculum");    }