Easiest way without too many details (lots of opinions on getting data from
database):
1. Put data into an ArrayList of Beans (forms, POJOs, whatever).
2. Use display tag library for display/sorting/paging -
http://displaytag.sf.net (it's open source, so if you want to improve it
feel free!)
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 5:16 PM
To: 'Struts Users Mailing List'
Subject: RE: Design Doubt
Easiest way without too many details (lots of opinions on getting data from
database):
1. Put data into an ArrayList of Beans (forms, POJOs, whatever).
2. Use display tag
.
-Original Message-
From: Raible, Matt [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 5:16 PM
To: 'Struts Users Mailing List'
Subject: RE: Design Doubt
Easiest way without too many details (lots
PM
To: Struts Users Mailing List
Subject: RE: Design Doubt
Create an action that takes in the start id and the quantity to scroll over,
and your query (total of 3 params). Read up on your DB specific SQL
language for specifying a start id and max rows to return (not applicable
for this mailing
| To: 'Struts Users Mailing List'
| Subject: RE: Design Doubt
|
| Thanx Jacob
| Initially I was wondering that querying to request base will be a
| performance issue. If even the big sites are doing this way, then I
| guess
| it should not be a problem
|
|
| -Original Message-
| From
Thanx Jacob I am using Hibernate for Data Access Layer.
It is cool
-Original Message-
From: Jacob Hookom [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 26, 2003 5:50 PM
To: 'Struts Users Mailing List'
Subject: RE: Design Doubt
Dao's like OJB will help you with performance. I
6 matches
Mail list logo