permaculture playing cards*
The moose likes Servlets and the fly likes send xml via bean to JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "send xml via bean to JSP" Watch "send xml via bean to JSP" New topic

send xml via bean to JSP

Weigang Gu
Ranch Hand

Joined: Jan 16, 2001
Posts: 44
Hi, folks:
What is the best way to send XML file via a bean to JSP?
Helps appreciated
Frank Carver

Joined: Jan 07, 1999
Posts: 6920
I'm not sure I realy understand what you want here. Where is your XML data coming from? What does the JSP need to do with it?
A bean can easily return XML information as a DOM object, as a String containing the XML external representation, or any custom representation of the same data. To decide between these (and other) ways of using XML we do need to know more about how you plan to use the XML data.

Read about me at ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Don't get me started about those stupid light bulbs.
subject: send xml via bean to JSP
Similar Threads
Calling a URL via HttpClient
Data transfer between Servlet and JSP
question about interceptor methods invocation order
Send HTTP Response with XML schema??
send xml files via bean to JSP