Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
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>
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: using xml or query to display