dept = CourseSearchUtils.findDepartment(searchTerms);
course = CourseSearchUtils.findCourse(searchTerms);
section = CourseSearchUtils.findSection(searchTerms);
}
try {
SearchQueryModel sqm = new SearchQueryModel(dept, course, section);
HttpSession s = req.getSession();
s.setAttribute("result", sqm);
req.getRequestDispatcher("/searchresults.jsp").forward(req, resp);
} catch (ServletException e) {
e.printStackTrace();