This week's book giveaway is in the OCAJP 8 forum.
We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line!
See this thread for details.
The moose likes JSP and the fly likes How to generate XML in jsp using javabean Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCA Java SE 8 Programmer I Study Guide this week in the OCAJP 8 forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "How to generate XML in jsp using javabean" Watch "How to generate XML in jsp using javabean" New topic
Author

How to generate XML in jsp using javabean

viral patel
Greenhorn

Joined: Feb 25, 2003
Posts: 16
Hi...I have orderform, i user orderbean to store data entered in orderform. Now i want to generate xml in jsp using my orderbean. Can i do that. and if i can...can someone show me example how?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 13018
    
    5
If your bean truly follows the bean conventions, you might be able to use the java.beans.XMLEncoder class.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to generate XML in jsp using javabean
 
It's not a secret anymore!