File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes using xml or query to display Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "using xml or query to display" Watch "using xml or query to display" New topic

using xml or query to display

Betsy Camel
Ranch Hand

Joined: Oct 02, 2003
Posts: 119
i have to develop a tree structure in jsp. converting the db input to xml and then using xml and xsl to get the tree struture is a better design or directly querying the db and using dhtml would be faster and better ?

Please reply as soon as possible
Rizwan Mohammad
Ranch Hand

Joined: Sep 02, 2005
Posts: 445
If I am not wrong, I think you need ask this question either in design forum or xml forum. Anyways, your question is not very clear to me to answer.

Neerav Narielwala
Ranch Hand

Joined: Dec 08, 2006
Posts: 106
Please retrieve the data from db directly bcaz using XML is risky as if someone has the link to xml file whole data can get destroyed..

<a href="" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="" target="_blank" rel="nofollow">Java Weblog</a> | <a href="" target="_blank" rel="nofollow">Computing Articles</a>
I agree. Here's the link:
subject: using xml or query to display
It's not a secret anymore!