File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes Problem with Displaytag and CahcedRowSet in Struts 1? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Problem with Displaytag and CahcedRowSet in Struts 1?" Watch "Problem with Displaytag and CahcedRowSet in Struts 1?" New topic
Author

Problem with Displaytag and CahcedRowSet in Struts 1?

Lance Hanson
Greenhorn

Joined: Mar 16, 2009
Posts: 1
Hello,

I'm trying to use displaytag with Struts 1. My datasource puts its rows into a CachedRowSetImpl. Displaytag dutifully puts the table in my JSP, but when I try to go to any page subsequent to the first, it says there are no data. Trying it with fake data that I insert into the request just before the display:table tag works fine. Displaytag knows how many rows it has, but won't display more than "pagesize" rows. I've tried setting requestURI to the name of the JSp, but nothing works. Is this my incompetence, or a bug?
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60050
    
  65

Please be sure to ask Struts questions in the Struts forum. I have moved this post there for you.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Problem with Displaytag and CahcedRowSet in Struts 1?
 
Similar Threads
Hitting a different Struts action with DisplayTag Pagination
DisplayTag export option is not working in struts2
JSP DisplayTag show the Total for the spcific Column.
display tag export problem
How to export selected rows of displaytag to a file?