private String[] getOptions(HttpServletRequest request) {
		int numOptions = Integer.parseInt(request.getParameter("num-answers"));
		String[] options = new String[numOptions];
		for (int i = 1; i <= numOptions; i++) {
			options[i - 1] = request.getParameter("option-" + i);
		}
		return options;
	}