| Author |
Need help in to show sub category
|
pankaj semwal
Ranch Hand
Joined: Oct 07, 2008
Posts: 300
|
|
Hi,
i need help in recursive query from you all.
I have a table categoyr with following coloumns.
category ID cateogyName parentId
1 java 0
2 net 0
3 servelt 1
like that.
i have a jsp page where i have one text box for adding cateogyName one combo box for selecting the parent e.g 'JAVA' and one submit button.
i have to show the data in category wise in th drop down box.
please send the recurseive query for this how to do this type of task.
Happy New Year
Thanks
|
 |
Jeanne Boyarsky
internet detective
Marshal
Joined: May 26, 2003
Posts: 26201
|
|
|
See Scott's reply to this very question.
|
[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
|
 |
 |
|
|
subject: Need help in to show sub category
|
|
|