• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to create xml dynamic uesing servlet and fill data to fatch from DataBase.

 
Nr Java
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
i want to generate dynamic xml by servlet and fill element value to fatch from database ..
Any one help me
 
Ankit Garg
Sheriff
Posts: 9591
34
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There are a lot of libraries that you can use for this purpose. I take use of w3c API (which comes with JDK) for simple XML file generation. This tutorial will be helpful I think. You can also look at the API Docs if you need...
 
Nr Java
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ankit Garg wrote:There are a lot of libraries that you can use for this purpose. I take use of w3c API (which comes with JDK) for simple XML file generation. This tutorial will be helpful I think. You can also look at the API Docs if you need...


Transform Exception is comeing ??
 
Ankit Garg
Sheriff
Posts: 9591
34
Android Google Web Toolkit Hibernate IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you use the exact same code or made some changes to it?? I tried that code and there were no exceptions. Please show us the code that you used and the stack trace of the exception...
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
108
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the XML forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!