1、jfinal record还得自己处理一下

可以使用 this.setSessionAttr("user", record.getColumns());

这样在jsp中el表达式就可以这样写: ${sessionScope.user.username}  

2、在前台使用model对象如 user.columns["userName"] 获取值

相关文章:

  • 2022-12-23
  • 2021-05-18
  • 2021-12-22
  • 2022-12-23
  • 2022-12-23
  • 2021-06-20
  • 2021-10-02
猜你喜欢
  • 2021-08-05
  • 2021-09-30
  • 2021-11-20
  • 2021-12-11
  • 2022-12-23
  • 2021-08-12
  • 2022-12-23
相关资源
相似解决方案