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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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: 12675
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.

Java Resources at
I agree. Here's the link:
subject: send xml files via bean to JSP
Similar Threads
question about interceptor methods invocation order
Send HTTP Response with XML schema??
send xml via bean to JSP
Data transfer between Servlet and JSP
Calling a URL via HttpClient