This week's book giveaway is in the JavaFX forum.
We're giving away four copies of Introducing JavaFX 8 Programming and have Herbert Schildt on-line!
See this thread for details.
The moose likes XML and Related Technologies and the fly likes send xml files via bean to JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Introducing JavaFX 8 Programming this week in the JavaFX forum!
JavaRanch » Java Forums » Engineering » XML and Related Technologies
Bookmark "send xml files via bean to JSP" Watch "send xml files via bean to JSP" New topic
Author

send xml files via bean to JSP

Weigang Gu
Ranch Hand

Joined: Jan 16, 2001
Posts: 44
Hi, folks:
I want to send a xml file via a bean to my jsp page. Any thoughts?
Help appreciated
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 13018
    
    5
Assuming you want to put the XML straight into the content of the JSP, why not make it a single String returned from a bean method?
Alternately you could pass the out PrintWriter to the bean and have it do the output.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: send xml files via bean to JSP
 
It's not a secret anymore!