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
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
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
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
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
8 matches
Mail list logo