protected void doGet(HttpServletRequest request,
			HttpServletResponse response) throws ServletException, IOException {
		// TODO Auto-generated method stub
		String uniId = request.getParameter("uni_id");
		HttpSession session = request.getSession(true);
		session.setAttribute("uni_id", uniId);
		UniDatabaseManager uDm = new UniDatabaseManager();
		List<University> ul = null;
		try {
			ul = uDm.universityList();
		} catch (SQLException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		List<Integer> uIdList = new ArrayList<Integer>();
		List<String> uNameList = new ArrayList<String>();
		List<String> uLocationList = new ArrayList<String>();
		List<String> uIntroList = new ArrayList<String>();

		for (int i = 0; i < ul.size(); i++) {
			int uId = ul.get(i).getId();
			String uName = ul.get(i).getName();
			String uLocation = ul.get(i).getLocation();
			String uIntro = ul.get(i).getIntro();

			uIdList.add(uId);
			uNameList.add(uName);
			uLocationList.add(uLocation);
			uIntroList.add(uIntro);
		}

		for (int j = 0; j < uIdList.size(); j++) {
			int u_id = Integer.parseInt(uniId);
			if (u_id == uIdList.get(j)) {
				String uniName = uNameList.get(j);
				session.setAttribute("uni_name", uniName);
				String uniLocation = uLocationList.get(j);
				session.setAttribute("uni_location", uniLocation);
			}
		}

		response.sendRedirect("uni.jsp");

	}