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 Spring in Action this week in the Spring 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: 12803
    
    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