读书人

怎么在jsp里取action 里的super.getRe

发布时间: 2012-03-14 12:01:12 作者: rapoo

如何在jsp里取action 里的super.getRequest().setAttribute("jyjlList", jyjlList);
action文件中

Java code
        List<Map<String, Object>> jyjlList = this.userinfoService.getPersonJlList(userids,"jyjl");        super.getRequest().setAttribute("jyjlList", jyjlList);


daoImpl文件sql如下:
Java code
String sql ="select t.edu_id,t.edu_school,t.edu_zy,t.edu_xw,t.edu_xw,t.edu_ksnf,t.edu_jsnf,t.edu_gs from    p_person_edu t where t.edu_personid=?";return super.jdbcTemplate.queryForList(sql, personid);



在 jsp里如何获得jyjlList,并取出相应的值,如取edu_school

[解决办法]
${jyjlList.edu_school}
[解决办法]
同意楼上,

读书人网 >Java Web开发

热点推荐