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
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/
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
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
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: "CRANFORD, CHRIS"
To: user@struts.apache.org
Subject:
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
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, CRANFORD, CHRIS
<[EMAIL PROTECTED]> wrote:
> How have others implemented database queries a
7 matches
Mail list logo