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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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: 61103
    
  66

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]
 
Don't get me started about those stupid light bulbs.
 
subject: Problem with Displaytag and CahcedRowSet in Struts 1?