public void find() {
// List<Record> userlist=Db.find("SELECT * FROM user");
List<Model> userlist = user.dao.find("SELECT * FROM user");
setAttr("user", userlist);
this.render("/hello.jsp");
jsp页面
<p>${session.user.user_name}</p>
获取不到数据
项目:JFinal
${user.user_name}
<%}%>