This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Applets and the fly likes How to print the transfered object ( a XML file) to the browser? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "How to print the transfered object ( a XML file) to the browser?" Watch "How to print the transfered object ( a XML file) to the browser?" New topic
Author

How to print the transfered object ( a XML file) to the browser?

cake naiyou
Greenhorn

Joined: Apr 29, 2011
Posts: 27
I am implementing an applet module which receiving an object sent from a servlet.



The following is used to setup connection.




The following is the code segment for receiving "result object" from servlet.



At present, the code can work. In specific, the line of



is able to output the generalized XML file in the Eclipse console. The corresponding XML file can also be generated through



Currently, I want to directly output this XML file to the browser. How to do it? Thanks.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to print the transfered object ( a XML file) to the browser?