public void doGet(HttpServletRequest request, HttpServletResponse response) {
		try {
			List<String> cats = CommunityDAO.get().getCategories();
			PrintStream out = new PrintStream(response.getOutputStream());
			out.println("<categories>");
			for( String category : cats ) { 
				out.println("<category name=\"" + category + "\"/>");
			}
			out.println("</categories>");
			out.flush();
			out.close();
			
		} catch( IOException e ) { 
			logger.warning(e.toString());
			e.printStackTrace();
			response.setStatus(HttpServletResponse.SC_INTERNAL_SERVER_ERROR);
		}
	}