Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing 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
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

Jeanne Boyarsky
author & internet detective
Posts: 35095
Eclipse IDE Java VI Editor
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic