// 通过session验证用户是否已经登录过了
boolean isRedirectLogin = true;
if (null == user) {
if (null != ticketStr) {
ResponseMessage respMsg = SendRequest.checkTicket(new RequestMessage(ticketStr));
if (respMsg.isStatus()) {
user = respMsg.getUser();
session.setAttribute(props.getProperty("USER_INFO_SESSION"), user);
isRedirectLogin = false;
System.out.println("验证通过!");