Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need help in to show sub category

 
pankaj semwal
Ranch Hand
Posts: 303
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
author & internet detective
Marshal
Posts: 34095
337
Eclipse IDE Java VI Editor
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic