Session获取值得问题。
在MyMetaObjectHandler类中。
Object account = RequestContextHolder.getRequestAttributes()
.getAttribute("templates/account", RequestAttributes.SCOPE_SESSION);
发现获取到的account总是为空?
在登录时候已经将account数值报错在Session中。
不知道为什么多次测试上面方法无法获取account的数据?