//query.setParameter("lname", name[0].trim());
// Don't need to check for non-existent since cboInstructor was populated
// from the database...have bigger problems if instructor is not there now
//ins = (Instructor)query.getSingleResult();
InstructorDAO instructorDAO = new InstructorDAO(emf.createEntityManager());
instructor = instructorDAO.find(selectedInstructor.getId());
//instructor = em.find(Instructor.class, selectedInstructor.getId());
path = path.concat(instructor.getWebID());
// Add the section if one is selected
if (cboSection.getSelectedIndex() > 0)