1.在后台存入session:
DoradoContext context = DoradoContext.getCurrent();
context.setAttribute(DoradoContext.SESSION,"key", value);
String code =(String)context.getAttribute(DoradoContext.SESSION,"key");
DoradoContext.getCurrent().setAttribute(DoradoContext.SESSION, "key", value);
${session.getAttribute('SessionUserInfo').pressLoginDate}//此处存入的是一个实体对象 或${session.getAttribute('key')}