File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP 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?