• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

send xml files via bean to JSP

 
Weigang Gu
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic