WebFX WebBoard
Message Thread:
View All Messages
Back to WebFX
 xloadtree , how to use jsp to generate .xml file? just like "date.xml.pl", henry, June 3, 2003
     Re:xloadtree , how to use jsp to generate .xml file? just like "date.xml.pl", henry, June 4, 2003
         Re:xloadtree , how to use jsp to generate .xml file? just like , Erik Arvidsson, June 6, 2003

Subject: Re:xloadtree , how to use jsp to generate .xml file? just like From: Erik Arvidsson Date: June 6, 2003
You need to set the content-type and no white space is allowed before the xml declaration.

erik

------------------------------------------------------

in demo.html , i write:
...
tree.add(new WebFXLoadTreeItem("data.jsp", "data.jsp"));
...

in data.jsp , i write:
<%
out.print("<?xml versiorrn=\"1.0\"?>");
out.print("<tree><tree text=\"test\"/></tree>");
%>

but i get a error ,why?
Thanks in advance!




Reply
Name: 
Email: 
Subject: 

Enter your reply to this message below. HTML tags are not supported but words that start with http://, ftp:// or mailto: are converted to links.


View All Messages
Back to WebFX