aspose file tools
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 OCA Java SE 8 Programmer I Study Guide 1Z0-808 this week in the OCAJP 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

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

Joined: Mar 22, 2000
Posts: 12868
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.
I agree. Here's the link:
subject: send xml files via bean to JSP