File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JSP and the fly likes recursion of database operation  in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "recursion of database operation  in jsp" Watch "recursion of database operation  in jsp" New topic
Author

recursion of database operation in jsp

rai talari
Ranch Hand

Joined: Jan 31, 2006
Posts: 34
im having a page_master table containg pagename,pageparent,....coumns
i have to diplay the pagename under its respective parent pagename for this i wrote the code in scriplet .is there any other way to do the above task as jsps must be free from bussiness logic
[ July 13, 2006: Message edited by: rai talari ]

nothing is impossible in the world even the word impossible sounds as I'M'Possible.
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Originally posted by rai talari:
i have to diplay the pages under its respective parent page


Please elaborate. Because your statement is a bit vague to me. I can think of many layouts.
rai talari
Ranch Hand

Joined: Jan 31, 2006
Posts: 34
Originally posted by rai talari:
i have to diplay the pages under its respective parent page



sorry i edited the post and the revised one is
i have to display the pagenames under the parent page name
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
Are you using tree kind of structure?
You can use JSTL with POJO to avoid scriplets.
 
 
subject: recursion of database operation in jsp