String cid=request.getParameter("cid");
String cname=request.getParameter("cname");
String classroom=request.getParameter("classroom");
String teacher=request.getParameter("teacher");
String assistTeacher=request.getParameter("assistTeacher");
Course course=new Course();
course.setCid(Integer.parseInt(cid));
course.setCname(cname);
course.setClassroom(classroom);
course.setTeacher(teacher);
course.setAssistTeacher(assistTeacher);
// System.out.println("in CourseAdd, cname is:"+cname);
coursefacade.createCourse(course);
RequestDispatcher dispatcher=request.getRequestDispatcher("viewCourses");
dispatcher.forward(request, response);
} finally {