XML with JAVA
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   rajesh_sivakumar
Posted On:   Wednesday, September 13, 2006 08:25 AM


How to get a Example code fetching data from database(MySQL) through XML in struts?

Re: XML with JAVA

Posted By:   WarnerJan_Veldhuis  
Posted On:   Wednesday, September 13, 2006 10:10 AM

Huh? Fetching data through XML??? What are you thinking?!? XML is not a magic wand that you can wave and things happen like magic, as long as XML is in the sentence. I tend to believe XML is overrated (at least for some people) :)



If you have data in your database that needs to be displayed as XML, I suggest you break things up in smaller pieces... Like accessing database, getting records, building a DOM, writing it out with a Transformer...
About | Sitemap | Contact