if(request.getParameter("degreeCurricularPlanID") != null){
if(request.getParameter("degreeCurricularPlanID") != null && !request.getParameter("degreeCurricularPlanID").equals("")){
    public ActionForward prepareEnrollmentChooseStudent(ActionMapping mapping, ActionForm form,            HttpServletRequest request, HttpServletResponse response) throws Exception {        getExecutionDegree(request);        Integer degreeCurricularPlanID = null;        if(request.getParameter("degreeCurricularPlanID") != null){            degreeCurricularPlanID = new Integer(request.getParameter("degreeCurricularPlanID"));            request.setAttribute("degreeCurricularPlanID", degreeCurricularPlanID);        }        return mapping.findForward("prepareEnrollmentChooseStudent");    }