aspose file tools*
The moose likes JDBC and the fly likes Need help in to show sub category Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of JavaScript Promises Essentials this week in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Need help in to show sub category" Watch "Need help in to show sub category" New topic
Author

Need help in to show sub category

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 301
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

Joined: May 26, 2003
Posts: 30894
    
158

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help in to show sub category