Hi!

>From here:
http://displaytag.sourceforge.net/11/tut_sources.html

--- cut ---

>From a db?

Displaytag will never support retrieving data from a db directly. Displaytag is 
here to help you in displaying data, not to retrieve them.

Anyway, there are a couple of easy methods to get records from a db and display 
them using displaytag:

--- cut ---

-----Original Message-----
From: fea jabi [mailto:[EMAIL PROTECTED] 
Sent: Monday, January 30, 2006 7:29 PM
To: user@struts.apache.org
Subject: RE: design question

can anyone help me understand this? Thanks.


>From: "fea jabi" <[EMAIL PROTECTED]>
>Reply-To: "Struts Users Mailing List" <user@struts.apache.org>
>To: user@struts.apache.org
>Subject: design question
>Date: Fri, 27 Jan 2006 11:40:20 -0500
>
>For all the tables in the JSP, I am using displaytag.
>
>
>For each row in the table I created an Object.
>
>I am creating instances of this Object and making a List which is getting 
>displayed in the JSP.
>
>I was told that instead of creating Object and creating instances, one can 
>directly use the result set got from the DB and iterate thru it to fill the 
>tables.
>
>Which one is more efficient way to do? Is the second approach better? if so 
>why?
>
>Thanks.
>
>_________________________________________________________________
>Express yourself instantly with MSN Messenger! Download today - it's FREE! 
>http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>

_________________________________________________________________
Donâ–“t just search. Find. Check out the new MSN Search! 
http://search.msn.click-url.com/go/onm00200636ave/direct/01/


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to