File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Struts and the fly likes how to display muiltitier structure in a jsp page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "how to display muiltitier structure in a jsp page" Watch "how to display muiltitier structure in a jsp page" New topic
Author

how to display muiltitier structure in a jsp page

yulina shu
Greenhorn

Joined: Mar 09, 2005
Posts: 11
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

Joined: Mar 09, 2005
Posts: 11
the format changed?

The SearchResult should be like this way:

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

Thanks,

 
 
subject: how to display muiltitier structure in a jsp page