This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
Similar Threads
Parsing huge XML file(>65 mb)
Tree using XML and JavaScript
Tree Structure in jsp
reading the configurtation file divided in the sections
merge input back to xml file