Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) 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
Sheriff
Posts: 35976
422
Eclipse IDE Java VI Editor
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!