This week's book giveaway is in the Java in General forum. We're giving away four copies of Think Java: How to Think Like a Computer Scientist and have Allen B. Downey & Chris Mayfield on-line! See this thread for details.
Problem with Displaytag and CahcedRowSet in Struts 1?
posted 7 years ago
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?