protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
		response.setContentType("application/json");
		StringBuffer sb = new StringBuffer();
		PrintWriter out = response.getWriter();
		ArrayList <HashMap<String, String>> compCourses = new ArrayList<HashMap<String, String>>();
		ArrayList <HashMap<String, String>> elCourses = new ArrayList<HashMap<String, String>>();
		//ArrayList <HashMap<String, String>> courses = new ArrayList<HashMap<String, String>>();
		
		
		try 
	    {
	      BufferedReader reader = request.getReader();
	      String line = null;
	      while ((line = reader.readLine()) != null)
	      {
	        sb.append(line);
	      }
	    } catch (Exception e) { e.printStackTrace(); }
		
		JSONParser parser = new JSONParser();
	    JSONObject data = null;
	    
	    try
	    {
	      data = (JSONObject) parser.parse(sb.toString());
	    } catch (ParseException e) { e.printStackTrace(); }
	    
	    try {
		      String firstName = (String) data.get("firstName");
		      String lastName = (String) data.get("lastName");
		      String course = (String) data.get("course");
		      compCourses = sqlUtils.SqlSelect.searchAllStudentCompCourses(firstName, null, lastName, course);
		      elCourses = sqlUtils.SqlSelect.searchAllStudentCompCourses(firstName, null, lastName, course);
		      for (HashMap<String, String> c : compCourses) {
		    	  courses.add(c);
		      }
		      for (HashMap<String, String> c : elCourses) {
		    	  courses.add(c);
		      }
		      //out.println(JSONValue.toJSONString(courses));
		      //out.flush();
		      //out.close();
		      addCourses(courses);
	    } catch (Exception e) { 
	    	e.printStackTrace();
	    }; 
	}