wood burning stoves 2.0*
The moose likes Servlets and the fly likes How a Xml output sent to JSP from servlet  parsed and displayed? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "How a Xml output sent to JSP from servlet  parsed and displayed?" Watch "How a Xml output sent to JSP from servlet  parsed and displayed?" New topic
Author

How a Xml output sent to JSP from servlet parsed and displayed?

jacob deiter
Ranch Hand

Joined: Apr 02, 2008
Posts: 576
How a Xml output sent to JSP from servlet and at the JSP ,XML to be parsed and displayed??
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12761
    
    5
1. Assuming the servlet can create a temporary file, it can record the file location in the session.
2. For transforming the XML document to some format, look into XSLT - there is probably a tag library to support this.

I suggest you dont try to get everything working at once, proceed step by step.

Bill
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Or, you might explore the JSTL XML tags.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Belec
Greenhorn

Joined: Nov 29, 2007
Posts: 12
Check this out. It has an example of reading xml.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60822
    
  65

Eric Belec wrote:Check this out. It has an example of reading xml.

That article is from 2000 and shows it! It's chock full of Java scriptlets. We've come a long way since then.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How a Xml output sent to JSP from servlet parsed and displayed?
 
Similar Threads
Servlet Response for AJAX
servlets & XML
How can I save my variable
getting output from servlet
Servlets vs JSP