RE: Queries and Paging

2005-02-28 Thread Sng Wee Jim
How does datagrid compares to displaytag (http://displaytag.sourceforge.net) - Jim -Original Message- From: Antony Joseph [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 01, 2005 12:15 AM To: Struts Users Mailing List Subject: Re: Queries and Paging Check out https

Re: Queries and Paging

2005-02-28 Thread Tim Christopher
If the only purpose of using paging is to display some nice table to the user then the DisplayTag can sort that out for you, though its more efficient to do as suggested and get a PaginatedList from the db. For an example of the DisplayTag in action take a look here: http://displaytag.homeip.net/

Re: Queries and Paging

2005-02-28 Thread Lee Harrington
Since I use hibernate with my struts, in my service class I added the following: query.setFirstResult(pageStart); query.setMaxResults(pageSize); works great for paging through the records. Lee - To unsubscribe, e-mail: [EMAIL P

RE: Queries and Paging

2005-02-28 Thread CRANFORD, CHRIS
Users Mailing List Subject: Re: Queries and Paging Check out https://workeffort.dev.java.net It uses struts along with the datagrid tag libriary ( http://jakarta.apache.org/taglibs/sandbox/doc/datagrid-doc/intro.html) for pagination from the database. - Original Message - From: "CRANF

Re: Queries and Paging

2005-02-28 Thread Antony Joseph
g Subject: Queries and Paging Date: Mon, 28 Feb 2005 09:54:04 -0600 > > How have others implemented database queries and paging techniques > in your struts applications? I'd like to see how others have > implemented such functionality to see if I can improve up

RE: Queries and Paging

2005-02-28 Thread CRANFORD, CHRIS
ruary 28, 2005 11:05 AM To: Struts Users Mailing List Subject: Re: Queries and Paging If you are looking for high-performance, use a stored procedure. There are other techniques, but I'd bet lunch that none will come close in terms of performance. Larry On Mon, 28 Feb 2005 09:54:04 -0600

Re: Queries and Paging

2005-02-28 Thread Larry Meadors
tabase queries and paging techniques in your > struts applications? I'd like to see how others have implemented such > functionality to see if I can improve upon our current framework. > > ___ > Chris Cranford > Programme

Queries and Paging

2005-02-28 Thread CRANFORD, CHRIS
How have others implemented database queries and paging techniques in your struts applications? I'd like to see how others have implemented such functionality to see if I can improve upon our current framework. ___ Chris Cranford Progr