aspose 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 Spring in Action this week in the Spring 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: 61433
    
  67

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]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Problem with Displaytag and CahcedRowSet in Struts 1?