File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes XML and Related Technologies and the fly likes How to create xml dynamic uesing servlet and fill data to fatch from DataBase. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "How to create xml dynamic uesing servlet and fill data to fatch from DataBase." Watch "How to create xml dynamic uesing servlet and fill data to fatch from DataBase." New topic
Author

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

Nr Java
Greenhorn

Joined: Aug 10, 2009
Posts: 9
Hi
i want to generate dynamic xml by servlet and fill element value to fatch from database ..
Any one help me
Ankit Garg
Sheriff

Joined: Aug 03, 2008
Posts: 9280
    
  17

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...


SCJP 6 | SCWCD 5 | Javaranch SCJP FAQ | SCWCD Links
Nr Java
Greenhorn

Joined: Aug 10, 2009
Posts: 9
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

Joined: Aug 03, 2008
Posts: 9280
    
  17

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

Joined: Jan 10, 2002
Posts: 60048
    
  65

Moved to the XML forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to create xml dynamic uesing servlet and fill data to fatch from DataBase.
 
Similar Threads
Help Needed Here EJB!!
convert of text into xml
XML file on fly
Java Memory Heap Exception
how to use hibernate in servlet with in eclipse