This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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 Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "send xml via bean to JSP" Watch "send xml via bean to JSP" New topic
Author

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
Sheriff

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 frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: send xml via bean to JSP
 
Similar Threads
question about interceptor methods invocation order
Send HTTP Response with XML schema??
Data transfer between Servlet and JSP
Calling a URL via HttpClient
send xml files via bean to JSP