Hi,
I'm building a page using
jsp that pulls data from a database. The page should look a bit like this :
Name:ABC
Date: 12/12/2004
Description
rogramming is fun!
Cost:$100.00
Name:XYZ
Date:1/8/2005
Description:Fruits are yummy!
Cost:$30.05
Name: QRS
Date:8/8/2005
Description:A great tv show!
Cost:$50.90
etc...etc...
Basically, the sql query loops through the db and displays the results like that with the same sub headings. I don't want to do it where the sub headings go horizontally across the page (won't have the same visual effect).
I was thinking part of the code may have something like this:
I'd like to keep things simple as can be. Beans and
servlets confuse me.
Any suggestions please?