Read and respond to this message at: https://sourceforge.net/forum/message.php?msg_id=3802683 By: jwboring
Using displayTag with Spring Web. Question about paging. The example page (example-paging.jsp) seems to indicate you should store the paged list in session. I get this from "You need to design your page, so that the JSP page with the table tag can be reloaded without reloading the entire list of entries." The example is also using a session attribute. If your list is in session then when a "page link" is clicked you can basically skip processing and return when you see the "d-16544-p" attribute in the request because the data is already in the session. My questions are: 1) Is my understanding here correct? 2) Is there a better way? I realize that storing large list in session might be an issue and there is also paging support built in to DAO/Hibernate. However, this (just returning) seems to be a quick & dirty way to support paging without reloading the list from the db every time the user pages. 3) What's up with the "d-16544-p"? How does displayTag come up with this value? Can I count on it being consistent / not changing? i.e., Can I just put in the Spring controller inspection of request logic to return when it see's this value? Thanks for any help you can give, Jeff Boring ______________________________________________________________________ You are receiving this email because you elected to monitor this forum. To stop monitoring this forum, login to SourceForge.net and visit: https://sourceforge.net/forum/unmonitor.php?forum_id=249318 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user