|
JSP页面的代码为- <t:comboBox url="musicController.do?getAllSinger"
- name="singerId" text="realname" id="id">
- </t:comboBox>
复制代码 musicController.do?getAllSinger的代码为:- @RequestMapping(params = "getAllSinger")
- @ResponseBody
- public List<TSBaseUser> getAllSinnger(){
- CriteriaQuery cq = new CriteriaQuery(TSBaseUser.class);
- cq.eq("userKey", "歌手");
- cq.add();
- List<TSBaseUser> ls=musicService.getListByCriteriaQuery(cq,false);
- return ls;
- // return musicService.getAllSinger();
- }
复制代码 musicController.do?getAllSinger有返回值,但是页面显示为空?请问怎么解决?
|
|