• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
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
 
Sheriff
Posts: 9610
37
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: 9610
37
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...
 
Author and ninkuma
Marshal
Posts: 66351
155
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moved to the XML forum.
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!