• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

how to display muiltitier structure in a jsp page

 
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I want to display multitier data in one page,

e.g. I have familyID, addressID, and familyMember

each addressID has several familyMembers and each familyID has several addressIDs, and I want to show them as multitier structure like the following:

SearchResult:

familyID1
addressID1
David....
YUlina
addressID2
Frank...
Steve
FamilyID2
addressID3
Tom
addressID4
Senthil
FamilyID3
.....

And I can use one select to get all data from database
.e.g. select familyID, addressID, familyMember from table

Could anyone give me any idea about it?

THanks so much,
 
yulina shu
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
the format changed?

The SearchResult should be like this way:

familyID1
--------addressID1
-------------David....
-------------YUlina
--------addressID2
-------------Frank...
-------------Steve
FamilyID2
--------addressID3
-------------Tom
-------------addressID4
-------------Senthil
FamilyID3
.....

Thanks,

 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic