[jdom-interest] [jdom-announce] jsp and XMLOutputter
Sibon Barman
sibon at ss8networks.com
Wed Oct 25 06:49:58 PDT 2000
I tried to print out my generated XML content using jsp pages's out object
but I don't seem to get anything. I am using the following jsp scriplet:
<%
SLPBuilder builder = new SLPBuilder(model);
org.jdom.Document doc = new SLPBuilder(model);
XMLOutputter fmt = new XMLOutputter(" ", true);
fmt.output(doc, out);
%>
A blank screen shows up.
But if I changed the scriplet to
<%
SLPBuilder builder = new SLPBuilder(model);
org.jdom.Document doc = new SLPBuilder(model);
XMLOutputter fmt = new XMLOutputter(" ", true);
fmt.output(doc, System.out);
%>
then the correct output shows up in the DOS screen. The jsp engine is from
Weblogic running inside the WebLogic Application Server 5.1.
Any help would be appreciated --- all I want to do is to be able to show the
XML output dynamically through a webpage.
Thanks,
Sibon.
_______________________________________________
To control your jdom-announce membership:
http://lists.denveronline.net/mailman/options/jdom-announce/youraddr@yourhost.com
More information about the jdom-interest
mailing list