This week's book giveaway is in the OCPJP forum.
We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates 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
JavaRanch » Java Forums » Java » Web Services
Bookmark "using xml or query to display" Watch "using xml or query to display" New topic
Author

using xml or query to display

Betsy Camel
Ranch Hand

Joined: Oct 02, 2003
Posts: 119
hi
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.


Rizwan
SCJA, SCJP, SCWCD, SCBCD, SCDJWS.
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="http://www.java-tips.org/java-tutorials/tutorials/" target="_blank" rel="nofollow">Java Tutorials</a> | <a href="http://www.planet-java.org" target="_blank" rel="nofollow">Java Weblog</a> | <a href="http://computer-engineering.science-tips.org" target="_blank" rel="nofollow">Computing Articles</a>
 
wood burning stoves
 
subject: using xml or query to display