Java开发网 Java开发网
注册 | 登录 | 帮助 | 搜索 | 排行榜 | 发帖统计  

您没有登录

» Java开发网 » Architecture & Framework  

按打印兼容模式打印这个话题 打印话题    把这个话题寄给朋友 寄给朋友    该主题的所有更新都将Email到你的邮箱 订阅主题
flat modethreaded modego to previous topicgo to next topicgo to back
作者 问struts值传递的问题.
lizwjiang





发贴: 80
积分: 10
于 2003-08-07 19:46 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
1.我在action类中查询出来的数据集(ResultSet类型或者Collection或者其他)怎么传递到一个Bean中.
2.如果这个Bean对应的jsp要显示查询出来的数据,那么Bean和jsp中应该怎么写?因为是数据集,不知道怎么写,请各位大虾指点!!


lizwjiang edited on 2003-08-07 21:32

作者 Re:问struts值传递的问题. [Re:lizwjiang]
softtiger





发贴: 46
积分: 10
于 2003-08-14 11:04 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
1.先写一个VO的类
2.在action子类中将结果集放到VO的列表中
3.将VO列表放到Request域或session域
4.用logic:iterator标签在jsp中取出



作者 Re:问struts值传递的问题. [Re:softtiger]
老刀





发贴: 66
积分: 10
于 2003-09-15 20:42 user profilesend a private message to usersearch all posts byselect and copy to clipboard. 
ie only, sorry for netscape users:-)add this post to my favorite list
softtiger wrote:
1.先写一个VO的类
2.在action子类中将结果集放到VO的列表中
3.将VO列表放到Request域或session域
4.用logic:iterator标签在jsp中取出


好像就这种方法了




flat modethreaded modego to previous topicgo to next topicgo to back
  已读帖子
  新的帖子
  被删除的帖子
Jump to the top of page

   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923