Hi all
I want to make a list page(JSP), that shows a list of employees . Employee
ID, name, other info etc.
- for that I have a servlet ( I use Model -2 ) that can either
1. get a Vector of Employee detail objects from the database. OR
2. Get an HTML string (for Listing), getting data from
database.(means gets the employee data, iteerate it and make HTML for
displaying)
After getting either of these, I want to pass it to the List.jsp for
displaying.
Can you suggest which is the suitble method.
I prefer the option 1 because, when the layout in the list page changes some
day, one can easily modify it.
Can anybody help.
Thanks in advance
Joshy
===========================================================================
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://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com