Yes, I had mentioned this is a re-post for more suggestions!



At 03:02 AM 1/4/01 -0800, you wrote:
>   I think we have answered this one about a week ago.
>
>
>>From: Hariharan N <[EMAIL PROTECTED]>
>>Reply-To: A mailing list about Java Server Pages specification and
>>     reference <[EMAIL PROTECTED]>
>>To: [EMAIL PROTECTED]
>>Subject: Re:
>>Date: Thu, 4 Jan 2001 02:48:06 -0800
>>
>>Hi!
>>         This is re-post for more replies and suggestions!
>>
>>       I want to display a set of employee details from database in a JSP
>>Page.
>>Which method is best suited and "WHY"?
>>1. Establish directly connection from JSP and display records...
>>
>>
>>2. Divide into
>>    Emp.jsp
>>    Database Bean
>>    form jsp create database bean which would fetch records form database.
>>Return directly the    resultset to the JSP and display the records
>>
>>3.Divide into
>>    Emp.jsp
>>    Database Bean
>>    Employee object
>>    form jsp create database bean which would fetch records form database.
>>from the no of records fetched create as many employee objects and fill the
>>details and send them as a vector to jsp which it would be type casted to
>>employee object not bean and then values are displayed from getmethods!!!
>>
>>Please explain why and which method is good... WHY..
>>Thanks!
>>
>>===========================================================================
>>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>>JSP-INTEREST".
>>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
>>DIGEST".
>>Some relevant FAQs on JSP/Servlets can be found at:
>>
>>  http://java.sun.com/products/jsp/faq.html
>>  http://www.esperanto.org.nz/jsp/jspfaq.html
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
>>  http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>
>_________________________________________________________________________
>Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
>For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to