public void doRequest(){
		request = session.getRequest();
		
		//更新Message
		updateMessage();
		
		//更新,防止过期
		session.update();
		
		String event = request.getParameter(Protocol.MSG_EVENT.toString());
		if(event.equals(Protocol.EVENT_GETLIST.toString())){
			doGetList();
		}else if (event.equals(Protocol.EVENT_PUTMSG.toString())){
			doPutMsg();
		}else if (event.equals(Protocol.EVENT_EXIT.toString())){
			doExit();
		}else if (event.equals(Protocol.EVENT_JOIN.toString())){
			doJoin();
		}else {
			logger.warn("Controller,非法的event:"+event);
			try {
				session.getResponse().sendError(HttpServletResponse.SC_BAD_REQUEST, "unkonw event"+event);
			} catch (IOException e) {
				logger.warn("Controller,输出流异常:",e);
				//e.printStackTrace();
			}
		}
	}