File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Other Application Frameworks and the fly likes parent/child structure display using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Other Application Frameworks
Reply Bookmark "parent/child structure display using jsp" Watch "parent/child structure display using jsp" New topic
Author

parent/child structure display using jsp

Madhu Bhat
Greenhorn

Joined: Nov 17, 2005
Posts: 1
hello,
I am developing the project using struts,spring,hibernate,jsp. I have a problem in displaying the tree structure of categories

abc--parent category(parent)
def--sub category(child)
ghi

jkl
lmn
op
rst

this is the display structure that i should get.

I have a table name Categoty where primarykey is id and foreignkey is parentCategory which is relating to the same table.

table structure :
ismoderated, langid, type, modifiedon, orgid, parentid, modifiedby, status, createdby, name, createdon, id
Marcos Lohmann
Greenhorn

Joined: Jan 03, 2006
Posts: 1
Is it just to "show" as a tree view and of course admin as parent/child structure? If so, I have 2 classes that make it work pretty fine.
 
 
subject: parent/child structure display using jsp
 
Threads others viewed
updating ArrayList on parent from child window
Dont know how to map if there is no primary key???
How to open New Window from another window in struts 2.0 without using windows.open
retrieving object hierarchy - many-to-one?
How to add Tree inside JComboBox
developer file tools